]> 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)
commita59da914a0ae0eebee83848fb4e089f4fea824e7
tree9af5614ba160507207c1690cb2789c67bca73313
parent653983ee506036df1a61b458624340f880ef90c4
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: 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/20220304131256.GA28739@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/vangogh/acp5x-pcm-dma.c