]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: acp5x-pcm-dma: Fix signedness bug
authorYueHaibing <yuehaibing@huawei.com>
Sat, 5 Mar 2022 12:37:05 +0000 (20:37 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 12:27:55 +0000 (12:27 +0000)
commita34d5b2fcb49c1e4729de70e47972a85a98440d7
tree28717a3e54b608f94e272b24de92c3107c7b9077
parent5c88f4fd3250492d09e16c0222510c2c9e6365a9
ASoC: amd: acp5x-pcm-dma: Fix signedness bug

In acp5x_audio_probe() platform_get_irq() may return error, but i2s_irq now
is unsigned int so the error handling is never triggered.

Fixes: 667c949982cc ("ASoC: amd: pcm-dma: Use platform_get_irq() to get the interrupt")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Link: https://lore.kernel.org/r/20220305123705.3708-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x.h