]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: vg: fix signedness bug in acp5x_audio_probe()
authorDan Carpenter <dan.carpenter@oracle.com>
Fri, 4 Mar 2022 13:12:56 +0000 (16:12 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 7 Mar 2022 15:45:56 +0000 (15:45 +0000)
commitaa46264e393eda2ce53343b326741b4bac653bc7
tree9af5614ba160507207c1690cb2789c67bca73313
parentf614454911867fd5a228f9f3a0a881569f27373b
ASoC: amd: vg: fix signedness bug in acp5x_audio_probe()

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

Fixes: 8d75b5d37ec5 ("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/20220304131256.GA28739@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-pcm-dma.c