ASoC: fsl_ssi: Fix platform_get_irq() error handling
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 15 Apr 2015 03:08:15 +0000 (00:08 -0300)
committerMark Brown <broonie@kernel.org>
Fri, 17 Apr 2015 13:10:34 +0000 (14:10 +0100)
commit28ecc0b658e2ac882faa80e7ff1d72d144299bd0
tree08e837eff3cc15df72de6e038b3bc42303e96819
parent7667428f80526d908124e0647ac5dbe3dad88900
ASoC: fsl_ssi: Fix platform_get_irq() error handling

We should check whether platform_get_irq() returns a negative number and
propagate the error in this case.

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