]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: fsl_ssi: Fix irq error check
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 7 Jan 2015 21:45:40 +0000 (19:45 -0200)
committerMark Brown <broonie@kernel.org>
Thu, 8 Jan 2015 18:17:33 +0000 (18:17 +0000)
commit4f742a865d4e4a4580bdde67797fde187a628847
treeff1bccc0c105359406e328977b96070a90a99779
parentbfa6fa2a2dfa997f6c80e35808e50464ecfebcda
ASoC: fsl_ssi: Fix irq error check

Commit 9498bf3f16b510b ("ASoC: fsl_ssi: Fix module unbound") changed the way to
retrieve the irq number from irq_of_parse_and_map() to platform_get_irq(), but
missed to updated the irq error check accordingly.

We should test for negative irq number and propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_ssi.c