]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: acp: Fix signedness bug in renoir_audio_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Mar 2022 13:14:49 +0000 (16:14 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:14:47 +0000 (13:14 +0000)
commitdedb167ad3d477b4cb93cb926a8b7b7ae88f2d6e
treef5257d467056371d269c87808138d849fa0de03c
parent2fbd9d3d455d1694b1cd99feb6baf6545fd4b712
ASoC: amd: acp: Fix signedness bug in renoir_audio_probe()

The "adata->i2s_irq" is unsigned so this error handling will not
work.

Fixes: 7230518c5003 ("ASoC: amd: Use platform_get_irq_byname() to get the interrupt")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220304131449.GC28739@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp/acp-renoir.c