]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: pxa: corgi: Fix enum ctl accesses in a wrong type
authorTakashi Iwai <tiwai@suse.de>
Mon, 29 Feb 2016 16:23:49 +0000 (17:23 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 1 Mar 2016 03:02:05 +0000 (12:02 +0900)
commite45052624ab5e103ea0b7583bc2cdd485ff37f71
treeede6db884dd536dc38ba41db72ad12aa65a45be0
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
ASoC: pxa: corgi: Fix enum ctl accesses in a wrong type

"Jack Function" and "Speaker Function" ctls in corgi are 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/pxa/corgi.c