Axel Lin 04f45c493a ASoC: wm8994: Slightly optimize configure_clock
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().

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2011-10-04 13:09:55 +01:00
..
2011-09-26 09:58:23 +01:00
2011-03-30 07:17:01 +09:00
2011-08-17 00:53:54 +09:00
2011-06-16 11:24:17 +01:00
2011-06-28 17:11:20 +01:00
2011-06-01 19:18:59 +01:00
2011-05-19 14:10:45 -07:00
2010-11-06 11:28:29 -04:00
2011-05-12 17:40:05 +02:00
2008-11-17 11:45:39 +00:00
2011-03-31 11:26:23 -03:00
2011-03-11 12:07:31 +00:00
2011-03-11 12:01:44 +00:00
2011-09-21 15:52:23 +01:00
2011-06-22 19:10:59 +01:00
2011-03-31 11:26:23 -03:00
2011-02-25 12:58:36 +00:00
2011-09-20 16:02:16 +01:00
2011-09-20 16:02:16 +01:00
2010-11-24 11:33:12 +00:00
2011-08-14 19:19:58 +09:00
2011-10-02 19:57:19 +01:00
2010-11-06 11:35:39 -04:00
2010-09-30 13:32:21 -07:00
2011-03-31 11:26:23 -03:00
2011-07-15 23:39:53 +09:00
2011-07-15 23:39:53 +09:00
2010-11-22 14:04:41 +00:00
2010-09-15 16:11:24 +01:00
2011-08-08 14:30:37 +09:00