summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@quicinc.com>2017-12-19 22:27:50 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2017-12-19 22:27:50 -0800
commit9bc61112eef7ae06cd794536ab37248b664e45eb (patch)
tree5a7468d3bd35cb2a2eed23b9aab9f143607bdd79 /include
parent06acadc1d70cf8f45654b7b4dc523389a531b6e3 (diff)
parenteefe13156cdfd73e93e62da7d092928f6d146ac4 (diff)
Merge "ALSA: pcm: use lock to protect substream runtime resource"
Diffstat (limited to 'include')
-rw-r--r--include/sound/pcm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/pcm.h b/include/sound/pcm.h
index a2ead8cbac5e..147e448ed405 100644
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -466,6 +466,7 @@ struct snd_pcm_substream {
const struct snd_pcm_ops *ops;
/* -- runtime information -- */
struct snd_pcm_runtime *runtime;
+ spinlock_t runtime_lock;
/* -- timer section -- */
struct snd_timer *timer; /* timer */
unsigned timer_running: 1; /* time is running */