HID: hidraw: don't deallocate memory when it is in use
authorRatan Nalumasu <ratan@google.com>
Sat, 22 Sep 2012 18:46:30 +0000 (11:46 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Wed, 10 Oct 2012 02:31:18 +0000 (03:31 +0100)
commit 4fe9f8e203fdad1524c04beb390f3c6099781ed9 upstream.

When a device is unplugged, wait for all processes that have opened the device
to close before deallocating the device.

Signed-off-by: Ratan Nalumasu <ratan@google.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

No differences found