diff options
author | Takashi Iwai <tiwai@suse.de> | 2016-02-29 17:20:48 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-03-01 11:59:41 +0900 |
commit | 741338f99f16dc24d2d01ac777b0798ae9d10a90 (patch) | |
tree | b189932b39d93f36be7f439a5c78e21a8cc1da88 /sound/usb/midi.c | |
parent | 92e963f50fc74041b5e9e744c330dca48e04f08d (diff) | |
download | blackbird-obmc-linux-741338f99f16dc24d2d01ac777b0798ae9d10a90.tar.gz blackbird-obmc-linux-741338f99f16dc24d2d01ac777b0798ae9d10a90.zip |
ASoC: dapm: Fix ctl value accesses in a wrong type
snd_soc_dapm_dai_link_get() and _put() access the associated ctl
values as value.integer.value[]. However, this is an enum ctl, and it
has to be accessed via value.enumerated.item[]. The former is long
while the latter is unsigned int, so they don't align.
Fixes: c66150824b8a ('ASoC: dapm: add code to configure dai link parameters')
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/usb/midi.c')
0 files changed, 0 insertions, 0 deletions