linux/sound/soc/sh/rcar
Kuninori Morimoto b1384d4c95
ASoC: rsnd: care default case on rsnd_ssiu_busif_err_status_clear()
commit cfb7b8bf1e ("ASoC: rsnd: tidyup
rsnd_ssiu_busif_err_status_clear()") merged duplicate code, but it didn't
care about default case, and causes smatch warnings.

smatch warnings:
sound/soc/sh/rcar/ssiu.c:112 rsnd_ssiu_busif_err_status_clear() \
	error: uninitialized symbol 'offset'.
sound/soc/sh/rcar/ssiu.c:114 rsnd_ssiu_busif_err_status_clear() \
	error: uninitialized symbol 'shift'.

This patch cares it.

Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87r15rgn6p.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2022-04-21 15:53:13 +01:00
..
adg.c ASoC: rsnd: adg: clearly handle clock error / NULL case 2021-08-20 13:07:26 +01:00
cmd.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
core.c ASoC: rsnd: use inclusive language for DAIFMT mask 2022-04-05 10:44:32 +01:00
ctu.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
debugfs.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
dma.c ASoC: rsnd: fixup DMAEngine API 2021-11-12 21:25:19 +00:00
dvc.c ASoC: rsnd: tidyup rsnd_dma_request_channel() 2021-06-01 14:04:14 +01:00
gen.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
Makefile ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
mix.c ASoC: rsnd: add debugfs support 2021-05-27 11:15:31 +01:00
rsnd.h ASoC: rsnd: tidyup __rsnd_mod_xxx macro comments 2021-06-03 13:56:42 +01:00
src.c ASoC: rsnd: adjust disabled module 2021-06-01 14:04:15 +01:00
ssi.c ASoC: rsnd: make some arrays static const, makes object smaller 2021-08-02 12:14:05 +01:00
ssiu.c ASoC: rsnd: care default case on rsnd_ssiu_busif_err_status_clear() 2022-04-21 15:53:13 +01:00