diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-05-31 15:07:49 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-06 08:47:57 +0200 |
commit | 07f3c531f5dc70fa44d4c535783ce95dc167256d (patch) | |
tree | 2a48b1857c358478fb44b25e561135df618e3fb5 /fs/cifs/dir.c | |
parent | bfe25df63048edd4ceaf78a2fc755d5e2befc978 (diff) | |
download | linux-stable-07f3c531f5dc70fa44d4c535783ce95dc167256d.tar.gz linux-stable-07f3c531f5dc70fa44d4c535783ce95dc167256d.tar.bz2 linux-stable-07f3c531f5dc70fa44d4c535783ce95dc167256d.zip |
ALSA: usb-audio: Optimize TEAC clock quirk
commit 3753fcc22974affa26160ce1c46a6ebaaaa86758 upstream.
Maris found out that the quirk for TEAC devices to work around the
clock setup is needed to apply only when the base clock is changed,
e.g. from 48000-based clocks (48000, 96000, 192000, 384000) to
44100-based clocks (44100, 88200, 176400, 352800), or vice versa,
while switching to another clock with the same base clock doesn't need
the (forcible) interface setup.
This patch implements the optimization for the TEAC clock quirk to
avoid the unnecessary interface re-setup.
Fixes: 5ce0b06ae5e6 ("ALSA: usb-audio: Workaround for clock setup on TEAC devices")
Reported-by: Maris Abele <maris7abele@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220531130749.30357-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs/cifs/dir.c')
0 files changed, 0 insertions, 0 deletions