]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: omap: rx51: Use gpio_set_value_cansleep for speaker amp control
authorJarkko Nikula <jhnikula@gmail.com>
Mon, 23 Aug 2010 07:36:41 +0000 (10:36 +0300)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Mon, 23 Aug 2010 11:03:09 +0000 (12:03 +0100)
commit38052b0fb2fdbf40572e89ebc79e895712b8119d
tree7baf14e3efcf04ae7eec0b3c1e37b31f565c9d5c
parente34ec3efd2e85f99aa00cab1c3ccbd36f1128c44
ASoC: omap: rx51: Use gpio_set_value_cansleep for speaker amp control

Speaker amplifier is controlled by TWL4030 GPIO which may sleep. Therefore
use gpio_set_value_cansleep to get rid of runtime warning that is introduced
after the commit 70d7085 and to get a stack trace if ever executing this
code in atomic context.

Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/omap/rx51.c