Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd68d6b0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: f_audio_source: Remove pm_qos request under non atomic context"

parents a2f4f003 ebd8e354
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -755,11 +755,11 @@ static int audio_pcm_close(struct snd_pcm_substream *substream)
	struct audio_dev *audio = substream->private_data;
	unsigned long flags;

	spin_lock_irqsave(&audio->lock, flags);

	/* Remove the QoS request */
	pm_qos_remove_request(&audio->pm_qos);

	spin_lock_irqsave(&audio->lock, flags);

	audio->substream = NULL;
	spin_unlock_irqrestore(&audio->lock, flags);