diff options
author | Takashi Iwai <tiwai@suse.de> | 2022-09-13 07:55:54 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-09-13 07:55:54 +0200 |
commit | f4209f692e3437c313e83bd057e6dc0c7f952549 (patch) | |
tree | 241757aef3254f9f386e68f307e84bb087b3c3a7 /sound/usb | |
parent | 446bc11f8614449782feac1d5ff270b3f98bcdf3 (diff) | |
parent | cbcdf8c4d35cd74aee8581eb2f0453e0ecab7b05 (diff) |
Merge branch 'for-linus' into for-next
Diffstat (limited to 'sound/usb')
-rw-r--r-- | sound/usb/endpoint.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/usb/endpoint.c b/sound/usb/endpoint.c index a42f2ce19455..8c8f9a851f89 100644 --- a/sound/usb/endpoint.c +++ b/sound/usb/endpoint.c @@ -925,6 +925,8 @@ void snd_usb_endpoint_close(struct snd_usb_audio *chip, endpoint_set_interface(chip, ep, false); if (!--ep->opened) { + if (ep->clock_ref && !atomic_read(&ep->clock_ref->locked)) + ep->clock_ref->rate = 0; ep->iface = 0; ep->altsetting = 0; ep->cur_audiofmt = NULL; |