diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-05-20 16:06:15 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-05-23 14:52:59 +0100 |
commit | f4d6aca0c80f09f4c780136a64ee039560a2c39b (patch) | |
tree | 1f1f77cee63c480bf7478ad3cd6253f8e9e261e8 /lib/Kconfig.kcsan | |
parent | e5cd20e0d6713138444cc3f3f982712cf9a36143 (diff) | |
download | linux-f4d6aca0c80f09f4c780136a64ee039560a2c39b.tar.gz linux-f4d6aca0c80f09f4c780136a64ee039560a2c39b.tar.bz2 linux-f4d6aca0c80f09f4c780136a64ee039560a2c39b.zip |
ASoC: soc-pcm: fix BE transition for TRIGGER_START
A obvious editing mistake caught with a cppcheck warning
sound/soc/soc-pcm.c:2132:8: style: Variable 'ret' is reassigned a
value before the old one has been used. [redundantAssignment]
ret = soc_pcm_trigger(be_substream, cmd);
^
sound/soc/soc-pcm.c:2126:9: note: ret is assigned
ret = soc_pcm_trigger(be_substream,
^
sound/soc/soc-pcm.c:2129:9: note: ret is assigned
ret = soc_pcm_trigger(be_substream,
^
Fixes: 374b50e234a3e ('ASoC: soc-pcm: improve BE transition for TRIGGER_START')
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220520210615.607229-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/Kconfig.kcsan')
0 files changed, 0 insertions, 0 deletions