diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-12-04 16:44:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-12-04 20:39:49 +0100 |
commit | a74a821624c0c75388a193337babd17a8c02c740 (patch) | |
tree | 7e0a35a98756577cdc1e8f99911f3fefc6776e4b /security | |
parent | bcdda2ec28c31fe62d5d85c8b603f202a2c85fac (diff) | |
download | linux-a74a821624c0c75388a193337babd17a8c02c740.tar.bz2 |
ALSA: rme96: Fix unexpected volume reset after rate changes
rme96 driver needs to reset DAC depending on the sample rate, and this
results in resetting to the max volume suddenly. It's because of the
missing call of snd_rme96_apply_dac_volume().
However, calling this function right after the DAC reset still may not
work, and we need some delay before this call. Since the DAC reset
and the procedure after that are performed in the spinlock, we delay
the DAC volume restore at the end after the spinlock.
Reported-and-tested-by: Sylvain LABOISNE <maeda1@free.fr>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions