[alsa-devel] [PATCH 2/2] ASoC: clock gating is decided by bool on snd_soc_of_parse_daifmt()

Stephen Warren swarren at wwwdotorg.org
Wed Jan 30 17:39:30 CET 2013

On 01/29/2013 10:03 PM, Kuninori Morimoto wrote:
> ASoC clock gate settings are continuous/gated only.
> This patch decides it as bool, then, gated clock will be default.
> Special thanks to Stephen

> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c

> +	snprintf(prop, sizeof(prop), "%scontinuous-clock", prefix);
> +	if (of_get_property(np, prop, NULL))

That should really use of_property_read_bool(), although it makes little
practical difference.

More information about the Alsa-devel mailing list