projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954e615
)
ASoC: amd: acp3x: Fix signedness bug in acp3x
author
YueHaibing
<yuehaibing@huawei.com>
Sat, 5 Mar 2022 12:36:13 +0000
(20:36 +0800)
committer
Mark Brown
<broonie@kernel.org>
Tue, 8 Mar 2022 12:27:56 +0000
(12:27 +0000)
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:
87d71a128771
("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
patch
|
blob
|
history
diff --git
a/sound/soc/amd/raven/acp3x.h
b/sound/soc/amd/raven/acp3x.h
index
c3f0c8b
..
7702f62
100644
(file)
--- a/
sound/soc/amd/raven/acp3x.h
+++ b/
sound/soc/amd/raven/acp3x.h
@@
-87,7
+87,7
@@
struct acp3x_platform_info {
struct i2s_dev_data {
bool tdm_mode;
-
unsigned
int i2s_irq;
+ int i2s_irq;
u16 i2s_instance;
u32 tdm_fmt;
u32 substream_type;