commit | 64aa5f5843ab12455f6984928058a267f385a82c | [log] [tgz] |
---|---|---|
author | Fabio Estevam <fabio.estevam@freescale.com> | Wed Jan 07 19:45:40 2015 -0200 |
committer | Mark Brown <broonie@kernel.org> | Thu Jan 08 18:17:33 2015 +0000 |
tree | ff1bccc0c105359406e328977b96070a90a99779 | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 [diff] |
ASoC: fsl_ssi: Fix irq error check Commit 2ffa531078037a0 ("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>