ALSA: usb-audio - Call get_min_max_*() after determining the name string
authorTakashi Iwai <tiwai@suse.de>
Mon, 14 May 2012 15:11:06 +0000 (17:11 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 15 May 2012 06:35:00 +0000 (08:35 +0200)
commite182534d4bd3a779941f2868f35e1f66a8d36cea
tree9215ad0124e637a4dbc76a1e759e1aaed6673a6a
parentf3af90517d87bf8f4b21c2e68c8a15d9b7fd516e
ALSA: usb-audio - Call get_min_max_*() after determining the name string

get_min_max_with_quirks() must be called after the control id name
string is determined, but the current code changes the id name string
after calling the function.

Reported-by: Christian Melki <christian.melki@ericsson.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer.c