From: Manoj Chourasia Date: Tue, 1 Oct 2013 10:09:00 +0000 (+0530) Subject: HID: hidraw: close underlying device at removal of last reader X-Git-Tag: v3.12-rc5~26^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f5a24c6602063e014ee48892ebf56093241106e;p=pandora-kernel.git HID: hidraw: close underlying device at removal of last reader Even though device exist bit is set the underlying HW device should be closed when the last reader of the device is closed i.e. open count drops to zero. Signed-off-by: Manoj Chourasia Reported-by: mika.westerberg@linux.intel.com Tested-by: mika.westerberg@linux.intel.com Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed