提交 9e446ad5 编写于 作者: F Fabio Estevam 提交者: Mark Brown

ASoC: fsl_ssi: Change irq type to 'int'

Since commit 2ffa5310 ("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: NFabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: NMark Brown <broonie@kernel.org>
上级 97bf6af1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册