]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: AD1836: Add ADC/DAC controls helper macros
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 6 Jun 2011 11:38:36 +0000 (13:38 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 6 Jun 2011 20:54:41 +0000 (21:54 +0100)
commit408a865ea6e8574f3db748f811eb0a022c8ec50d
treeec6599e1c21f88b7dd8e8407a3e0b6e2cdd7dd0c
parent5c3fae8c2318ec3b23a407484f026090b723ac5e
ASoC: AD1836: Add ADC/DAC controls helper macros

The different ADC and DAC controls follow the same scheme, so add some helper
macros for declaring them.
This should make the code a bit more readable and also decreases the code size
a bit.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ad1836.c
sound/soc/codecs/ad1836.h