diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2015-01-14 12:48:59 (GMT) |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-01-14 17:15:15 (GMT) |
commit | 9e446ad500db0fd0823990409da17fde9e9cffdc (patch) | |
tree | 0a941fe3a4733a94f609a744b8a26fdec91a23a5 /sound/soc/fsl | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | linux-9e446ad500db0fd0823990409da17fde9e9cffdc.tar.xz |
ASoC: fsl_ssi: Change irq type to 'int'
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>
Diffstat (limited to 'sound/soc/fsl')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index a65f17d..4a48da5 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -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; |