diff --git a/sound/soc/amlogic/meson/audio_iomap.c b/sound/soc/amlogic/meson/audio_iomap.c index 172ca0725ff4..a5d6f72ce53b 100644 --- a/sound/soc/amlogic/meson/audio_iomap.c +++ b/sound/soc/amlogic/meson/audio_iomap.c @@ -52,7 +52,7 @@ static int aml_snd_read(u32 base_type, unsigned int reg, int *val) ret = -1; } else { *val = aml_read_cbus(reg); - if (*val < 0) { + if (*val == -1) { pr_err("read cbus reg %x error\n", reg); return -1; }