diff options
author | 2022-06-30 11:14:59 +0100 | |
---|---|---|
committer | 2022-06-30 13:40:30 +0100 | |
commit | e8010efc7b83038d1c18abe1b8d171e3c7d4ed92 (patch) | |
tree | 331b8240692c7a28464caf71f29f4eb4c81b06ba /tools/perf/scripts/python | |
parent | ASoC: samsung: change neo1973_audio from a global to static (diff) | |
download | linux-dev-e8010efc7b83038d1c18abe1b8d171e3c7d4ed92.tar.xz linux-dev-e8010efc7b83038d1c18abe1b8d171e3c7d4ed92.zip |
ASoC: wm_adsp: Minor clean and redundant code removal
The cs_dsp core will return an error if passed a NULL cs_dsp struct so
there is no need for the wm_adsp_write|read_ctl functions to manually
check that. The cs_dsp core will also check the data is within bounds of
the control so the additional bounds check is redundant too. Simplify
things a bit by removing said code.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20220630101459.3442327-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions