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

"Input Select" ctl in magician driver is an enum, while the current
driver accesses wrongly via value.integer.value[].  They have to be
via value.enumerated.item[] instead.

(Meanwhile "Headphone Switch" and "Speaker Switch" are boolean, so
 they should stay to access via value.integer.value[] as is.)

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