ASoC: fsl_ssi: Change irq type to 'int'
Subsystems (3)
Fabio Estevam
reviewerPATCH 1/1 ASoC: fsl_ssi: Change irq type to 'int'
From: Fabio Estevam <[email protected]>
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 <[email protected]>
--- sound/soc/fsl/fsl_ssi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/fsl_ssi.c +1 -1
@@ -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;
Signature · 1 line
1.9.1
Quoted 5 lines · Fabio Estevam
From: Fabio Estevam <[email protected]>
Since commit
2ffa531078037a0("ASoC:fsl_ssi: Fix module unbound") the irq number is retrieved viaplatform_get_irq(), which may fail and return a negative number, so adapt its type to 'int'.
Applied, thanks.