summaryrefslogtreecommitdiffstats
path: root/sound/soc/fsl/fsl_ssi.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2015-01-14 13:48:59 +0100
committerMark Brown <broonie@kernel.org>2015-01-14 18:15:15 +0100
commit9e446ad500db0fd0823990409da17fde9e9cffdc (patch)
tree0a941fe3a4733a94f609a744b8a26fdec91a23a5 /sound/soc/fsl/fsl_ssi.c
parentLinux 3.19-rc1 (diff)
downloadlinux-9e446ad500db0fd0823990409da17fde9e9cffdc.tar.xz
linux-9e446ad500db0fd0823990409da17fde9e9cffdc.zip
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/fsl_ssi.c')
-rw-r--r--sound/soc/fsl/fsl_ssi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c
index a65f17d57ffb..4a48da5673ce 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;