]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ASoC: fsl_ssi: Change irq type to 'int'
authorFabio Estevam <fabio.estevam@freescale.com>
Wed, 14 Jan 2015 12:48:59 +0000 (10:48 -0200)
committerMark Brown <broonie@kernel.org>
Wed, 14 Jan 2015 17:15:15 +0000 (17:15 +0000)
Since commit 2ffa531078037a0 ("ASoC: fsl_ssi: Fix module unbound") the irq
number is retrieved via platform_get_irq(), which may fail and return a negative
number, so adapt its type to 'int'.

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

index a65f17d57ffb44733b7858364678581308dea040..4a48da5673ce1ddc5986d11b364ac8391827d57b 100644 (file)
@@ -160,7 +160,7 @@ struct fsl_ssi_soc_data {
  */
 struct fsl_ssi_private {
        struct regmap *regs;
-       unsigned int irq;
+       int irq;
        struct snd_soc_dai_driver cpu_dai_drv;
 
        unsigned int dai_fmt;