Charles Keepax e8010efc7b
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>
2022-06-30 13:40:30 +01:00
..
2021-04-20 17:25:51 +01:00
2022-05-23 16:03:04 +02:00
2022-06-27 18:27:03 +01:00
2021-03-31 18:00:38 +01:00
2022-06-06 12:33:10 +01:00
2022-06-06 12:33:10 +01:00
2018-04-26 12:44:15 +01:00
2021-10-02 01:31:58 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2022-01-28 15:59:20 +00:00
2021-12-06 10:04:05 +01:00
2021-12-06 10:04:05 +01:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-02 21:05:29 +01:00