]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: ak4104: correct tranceiver enable handling
authorDaniel Mack <zonque@gmail.com>
Wed, 6 Mar 2013 21:22:16 +0000 (22:22 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 7 Mar 2013 02:37:38 +0000 (10:37 +0800)
commitaddd3474ea73b4672c9508d082723aa9a1efa802
treead011568ff8a232bbd1c1bff8ccc10cc55402d9e
parent5fde49ea16f1b4af59f1cf300de17ca673e938f1
ASoC: ak4104: correct tranceiver enable handling

Move the enabling of the TX diode to hw_params() and disable it again in
hw_free(). This way, the diode is only switched on as long as it needs
to be.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/ak4104.c