diff options
author | Julian Anastasov <ja@ssi.bg> | 2009-11-06 23:44:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-11-07 09:46:06 +0100 |
commit | f495088210c8b9e20791d995a8210170c68d2deb (patch) | |
tree | 4f18e905dd9a21400d9327c9f79847afa7a95535 /sound/sh | |
parent | 70edc800a39327174d3244f9226ce8cacd01dc91 (diff) | |
download | linux-stable-f495088210c8b9e20791d995a8210170c68d2deb.tar.gz linux-stable-f495088210c8b9e20791d995a8210170c68d2deb.tar.bz2 linux-stable-f495088210c8b9e20791d995a8210170c68d2deb.zip |
ALSA: usb-audio: fix combine_word problem
Fix combine_word problem where first octet is not
read properly. The only affected place seems to be the
INPUT_TERMINAL type. Before now, sound controls can be created
with the output terminal's name which is a fallback mechanism
used only for unknown input terminal types. For example,
Line can wrongly appear as Speaker. After the change it
should appear as Line.
The side effect of this change can be that users
can expect the wrong control name in their scripts or
programs while now we return the correct one.
Probably, these defines should use get_unaligned_le16 and
friends.
Signed-off-by: Julian Anastasov <ja@ssi.bg>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/sh')
0 files changed, 0 insertions, 0 deletions