Re: [PATCH 1/2] ASoC: wm8994: Slightly optimize configure_clock

From: Mark Brown
Date: Tue Oct 04 2011 - 08:10:13 EST


On Tue, Oct 04, 2011 at 08:07:03PM +0800, Axel Lin wrote:
> snd_soc_update_bits() will only write new register value
> if the old value is different from the new value.
> In additional, snd_soc_update_bits() returns 0 for no change.
> No need to read WM8994_CLOCKING_1 register before calling snd_soc_update_bits().

Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/