diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-11-08 17:50:27 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-11-08 17:50:27 +0100 |
commit | dcaaf9f2c16b56f8bb316881fcd3f15c18fc71e7 (patch) | |
tree | bea2206f37aa1fcd0344f5889d19abe16c3bd4fb /kernel/fork.c | |
parent | dccc1810f41b42773a2e359907f05a7fd10910bd (diff) | |
download | linux-dcaaf9f2c16b56f8bb316881fcd3f15c18fc71e7.tar.gz linux-dcaaf9f2c16b56f8bb316881fcd3f15c18fc71e7.tar.bz2 linux-dcaaf9f2c16b56f8bb316881fcd3f15c18fc71e7.zip |
ALSA: usb-audio - Fix the missing volume quirks at delayed init
In the recent usb-audio driver, the initialization of volume ranges
may be delayed when the device doesn't respond well at the probing time.
But the volume quirks for certain devices are applied only in
mixer_ctl_feature_info() thus only at the very first probe and will be
missing when the volume range is initialized later.
This patch moves the volume quirk code to be always called from the
volume-range extraction (get_min_max()), so that the quirks are properly
applied in the later init time.
Reported-and-tested-by: Alexey Fisher <bug-track@fisher-privat.net>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/fork.c')
0 files changed, 0 insertions, 0 deletions