]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8903: Move interrupt request to I2C probe
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 9 Jun 2012 02:15:10 +0000 (10:15 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 12 Jun 2012 01:00:03 +0000 (09:00 +0800)
commitc8b10084099fc14633ce889fcdc211ae24cdb42c
tree619a148654249e33b2e26c718fad3056ddacd4a0
parent178b8454595d9dc77197b492b65940c982cd0e72
ASoC: wm8903: Move interrupt request to I2C probe

There's no reason to defer requesting of the interrupt until the CODEC
probe and doing so results in more work if we hit an error as we'll have
registered the CODEC with the core. It's neater to acquire as many of the
resources we'll need as we can in the bus probe function.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
sound/soc/codecs/wm8903.c