diff options
author | Takashi Iwai <tiwai@suse.de> | 2023-02-16 14:18:54 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-02-16 14:18:54 +0100 |
commit | 5661706efa200252d0e9fea02421b0a5857808c3 (patch) | |
tree | b6943001feff0af67c206a850be9c536fe3990b4 /sound/firewire | |
parent | ALSA: hda: cs35l41: Enable Amp High Pass Filter (diff) | |
parent | ALSA: hda/hdmi: Register with vga_switcheroo on Dual GPU Macbooks (diff) | |
download | linux-5661706efa200252d0e9fea02421b0a5857808c3.tar.xz linux-5661706efa200252d0e9fea02421b0a5857808c3.zip |
Merge branch 'topic/apple-gmux' into for-next
Pull vga_switcheroo fix for Macs
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/firewire')
-rw-r--r-- | sound/firewire/motu/motu-hwdep.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/firewire/motu/motu-hwdep.c b/sound/firewire/motu/motu-hwdep.c index a900fc0e7644..88d1f4b56e4b 100644 --- a/sound/firewire/motu/motu-hwdep.c +++ b/sound/firewire/motu/motu-hwdep.c @@ -87,6 +87,10 @@ static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, return -EFAULT; count = consumed; + } else { + spin_unlock_irq(&motu->lock); + + count = 0; } return count; |