ASoC: twl4030: Separate write condition checking from I/O function
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Fri, 3 Jan 2014 13:27:49 +0000 (15:27 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 8 Jan 2014 12:48:53 +0000 (12:48 +0000)
commita8fc415c29a62e4f0a7a932110ee9d8423e2cc52
tree85f9155f72cf260556e67e4685607415d32ed760
parent258549c06803da30acf0971807c985bf83db8491
ASoC: twl4030: Separate write condition checking from I/O function

Simplifies the code a bit and prepares it to the removal of local caching.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/twl4030.c