Merge "USB: f_audio_source: Remove pm_qos request under non atomic context"
This commit is contained in:
commit
1eb22ad1f5
1 changed files with 2 additions and 2 deletions
|
@ -776,11 +776,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);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue