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)
commitb7c95d9146c8201740e2ce9dca7fb1eb8b7b0053
tree619a148654249e33b2e26c718fad3056ddacd4a0
parente373cbfb2f7d194e48d528794b3b99274d4c1a97
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