]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: pcm-dma: Fix signedness bug in acp3x_audio_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Mar 2022 13:15:34 +0000 (16:15 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 13:14:49 +0000 (13:14 +0000)
commitbd2697144199e2092f68f2d4cf9e82e8feb24536
treeeea139214b0587ad8b06b5a8eddffff5b33d7002
parentc83d993c779b11fed0ba08fe3ae22986ff1cdcb9
ASoC: amd: pcm-dma: Fix signedness bug in acp3x_audio_probe()

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

Fixes: 667c949982cc ("ASoC: amd: pcm-dma: Use platform_get_irq() to get the interrupt")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220304131534.GD28739@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x-pcm-dma.c