ASoC: claim the IRQ when the fsl_ssi device is probed, not opened
authorTimur Tabi <timur@freescale.com>
Tue, 16 Aug 2011 22:47:45 +0000 (18:47 -0400)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 17 Aug 2011 01:04:11 +0000 (10:04 +0900)
commit1fab6cafc798c987caa6e98ee8e04991e9171cd0
tree17e0756e834ac7f5d64cf07f7863cc7c7d887e3f
parentf049ffb3f8cf682df405f029914938f95d667695
ASoC: claim the IRQ when the fsl_ssi device is probed, not opened

The PowerPC Freescale SSI driver is claiming the IRQ when the IRQ when
the device is opened, which means that the /proc/interrupts entry for
the SSI exists only during playback or capture.  This also meant that
the user won't know that the IRQ number is wrong until he tries to use
the device.  Instead, we should claim the IRQ when the device is probed.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/fsl/fsl_ssi.c