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

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