aboutsummaryrefslogtreecommitdiffstats
path: root/sound/drivers/pcsp/pcsp_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/drivers/pcsp/pcsp_lib.c')
-rw-r--r--sound/drivers/pcsp/pcsp_lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/drivers/pcsp/pcsp_lib.c b/sound/drivers/pcsp/pcsp_lib.c
index a302756eac7c..54253e9b4b02 100644
--- a/sound/drivers/pcsp/pcsp_lib.c
+++ b/sound/drivers/pcsp/pcsp_lib.c
@@ -305,7 +305,9 @@ static int snd_pcsp_playback_open(struct snd_pcm_substream *substream)
305 return -EBUSY; 305 return -EBUSY;
306 } 306 }
307 runtime->hw = snd_pcsp_playback; 307 runtime->hw = snd_pcsp_playback;
308 spin_lock_irq(&chip->substream_lock);
308 chip->playback_substream = substream; 309 chip->playback_substream = substream;
310 spin_unlock_irq(&chip->substream_lock);
309 return 0; 311 return 0;
310} 312}
311 313