diff options
| author | Liangliang Lu <luliang@codeaurora.org> | 2017-05-03 16:06:35 +0800 |
|---|---|---|
| committer | Liangliang Lu <luliang@codeaurora.org> | 2017-05-03 16:47:13 +0800 |
| commit | 091b49d5eab10b5ae30b23536e03df5d2cd6844f (patch) | |
| tree | 4811fd03afecad4cab11c4f7f37c03cb5a89fffc /scripts/patch-kernel | |
| parent | 8d601310901aec11cc3b8f737a4f3f634aa0a973 (diff) | |
usb: gadget: mtp: Move mutex_init() to alloc_inst_mtp_ptp()
Now mutex_init() is in function_alloc_mtp_ptp() which will be
called when USB composition change.
In the corner case, USB composition change when do mtp_read(),
the mutex lock is initialized when do mutex_lock().
Change-Id: I7a61f6fe6d8865462c5445f7075722f4f151b03f
Signed-off-by: Liangliang Lu <luliang@codeaurora.org>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions
