]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite36108bdb2b558648cb32614d13b6fac811c74da
tree17e0756e834ac7f5d64cf07f7863cc7c7d887e3f
parent0fee8be2ffc9ea1accf5862c23c4505abf75e254
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