ASoC: rsnd: check all BUSIF status when error

commit 66c705d07d ("SoC: rsnd: add interrupt support for SSI BUSIF
buffer") adds __rsnd_ssi_interrupt() checks for BUSIF status,
but is using "break" at for loop.
This means it is not checking all status. Let's check all BUSIF status.

Fixes: commit 66c705d07d ("SoC: rsnd: add interrupt support for SSI BUSIF buffer")
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/874kgh1jsw.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Kuninori Morimoto 2021-04-08 13:28:47 +09:00 committed by Mark Brown
parent a122a116fc
commit a4856e15e5
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0

View File

@ -797,7 +797,6 @@ static void __rsnd_ssi_interrupt(struct rsnd_mod *mod,
SSI_SYS_STATUS(i * 2), SSI_SYS_STATUS(i * 2),
0xf << (id * 4)); 0xf << (id * 4));
stop = true; stop = true;
break;
} }
} }
break; break;
@ -815,7 +814,6 @@ static void __rsnd_ssi_interrupt(struct rsnd_mod *mod,
SSI_SYS_STATUS((i * 2) + 1), SSI_SYS_STATUS((i * 2) + 1),
0xf << 4); 0xf << 4);
stop = true; stop = true;
break;
} }
} }
break; break;