]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm_adsp: Remove use of snd_ctl_elem_type_t
authorSimon Trimmer <simont@opensource.cirrus.com>
Mon, 13 Sep 2021 16:00:42 +0000 (17:00 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 27 Sep 2021 12:00:28 +0000 (13:00 +0100)
commita6e1df04c921f3e2d1110ed0a312ad2ce7131399
treedc366fc0ea4e6b21ee1a12dc633b2e010bf5a44c
parent50e45961f9e82ade80f42b8028d93e97e8e660d9
ASoC: wm_adsp: Remove use of snd_ctl_elem_type_t

In preparation for moving the generic DSP support out of ASoC, remove
the use of the ALSA specific types for the control type. The use of an
ALSA type was unnecessary, the simplified code is easier to read and
avoids Sparse warnings.

Signed-off-by: Simon Trimmer <simont@opensource.cirrus.com>
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20210913160057.103842-2-simont@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wm_adsp.c
sound/soc/codecs/wmfw.h