lkml.org 
[lkml]   [2018]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v4 2/3] ASoC: topology: Add missing clock gating parameter when parsing hw_configs
On Wed, Apr 04, 2018 at 06:19:38AM +0200, Kirill Marinushkin wrote:

> + /* clock gating */
> + if (hw_config->clock_gated == SND_SOC_TPLG_DAI_CLK_GATE_GATED)
> + link->dai_fmt |= SND_SOC_DAIFMT_GATED;
> + else if (hw_config->clock_gated ==
> + SND_SOC_TPLG_DAI_CLK_GATE_CONT)
> + link->dai_fmt |= SND_SOC_DAIFMT_CONT;

I'll apply this but the above would be better written as a switch
statement - could you please send an incremental patch changing it?
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2018-04-16 18:53    [W:0.099 / U:3.884 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site