]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: acp3x: Fix signedness bug in acp3x
authorYueHaibing <yuehaibing@huawei.com>
Sat, 5 Mar 2022 12:36:13 +0000 (20:36 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 8 Mar 2022 12:27:56 +0000 (12:27 +0000)
commitaa8ad70b54e4c9930b92096901c79893a1c7dc1d
tree8cfb041bc52773c37cf93579a3684dbf4f7fbcce
parenta4802221b413c5b36d7ae04691384cff0db29f42
ASoC: amd: acp3x: Fix signedness bug in acp3x

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

Fixes: 8d75b5d37ec5 ("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/20220305123613.6324-1-yuehaibing@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/raven/acp3x.h