diff options
author | Charles Keepax <[email protected]> | 2022-06-30 11:14:59 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2022-06-30 13:40:30 +0100 |
commit | e8010efc7b83038d1c18abe1b8d171e3c7d4ed92 (patch) | |
tree | 331b8240692c7a28464caf71f29f4eb4c81b06ba /tools/perf/scripts/python | |
parent | 871325d800ed532ba5874257f04bb4ae75125bc4 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions