Message ID | 1421239739-7755-1-git-send-email-festevam@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9e446ad500db0fd0823990409da17fde9e9cffdc |
Headers | show |
On Wed, Jan 14, 2015 at 10:48:59AM -0200, Fabio Estevam wrote: > From: Fabio Estevam <fabio.estevam@freescale.com> > > 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'. Applied, thanks.
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 65400be..46549de 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;