commit | dfb07e780f4f5b2988305d2ff809e86f03a138a1 | [log] [tgz] |
---|---|---|
author | Mike Lockwood <lockwood@google.com> | Thu Jan 29 13:37:06 2015 -0800 |
committer | Mihai Serban <mihai.serban@intel.com> | Thu Jan 07 17:54:40 2016 +0200 |
tree | 3d6d7b5707fd1e46acd1df6e87ccd7518825a463 | |
parent | e29cdff5643717e1b557d9161dc318c3ef55979e [diff] |
usb: gadget: midi: Fix deadlock unbinding driver while it is in use Using snd_card_free_when_closed rather than snd_card_free in f_midi_unbind makes it safe to disable the driver while a userspace client has the ALSA device open. Change-Id: I4358f26440c241f95cb6355dc48a494ba91edf82 Tracked-On: https://jira01.devtools.intel.com/browse/OAM-3353 Signed-off-by: Mike Lockwood <lockwood@google.com> Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>