diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2018-05-02 13:38:39 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-05-02 13:38:38 -0700 |
| commit | 6fa93fc89f5e5641c0ad1be533b016e065cbf04d (patch) | |
| tree | 0ec16a2538fed8fe89c82ef02c6698166d827602 /include | |
| parent | c4afe0cea6d7e1eba33af14d9591464ee9bd3467 (diff) | |
| parent | 742017e8de6a8d221470ced85a2a481e89b9719d (diff) | |
Merge "ANDROID: sound: rawmidi: Hold lock around realloc"
Diffstat (limited to 'include')
| -rw-r--r-- | include/sound/rawmidi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sound/rawmidi.h b/include/sound/rawmidi.h index 3b91ad5d5115..2dd096eea935 100644 --- a/include/sound/rawmidi.h +++ b/include/sound/rawmidi.h @@ -78,6 +78,7 @@ struct snd_rawmidi_runtime { size_t xruns; /* over/underruns counter */ /* misc */ spinlock_t lock; + struct mutex realloc_mutex; wait_queue_head_t sleep; /* event handler (new bytes, input only) */ void (*event)(struct snd_rawmidi_substream *substream); |
