]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: cs42l51: Fix enum ctl accesses in a wrong type
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Feb 2016 17:02:59 +0000 (18:02 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Mar 2016 03:03:45 +0000 (12:03 +0900)
commite4146145d4dbe0c6a356baf1c30b5e129ae122f6
treecb0baf836aed27c51fcc9931a7d4c9fdbed0b70e
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
ASoC: cs42l51: Fix enum ctl accesses in a wrong type

"PCM channel mixer" ctl in cs42l51 codec driver is enum, while the
current driver accesses wrongly via value.integer.value[].  They have
to be via value.enumerated.item[] instead.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/cs42l51.c