From: Johan Hovold Date: Mon, 14 Jan 2013 15:52:56 +0000 (+0100) Subject: USB: serial: grab disconnect mutex in chars_in_buffer X-Git-Tag: v3.9-rc1~126^2~63 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=810360a03597afc0d43a45798a52cfb69b8453d3;p=pandora-kernel.git USB: serial: grab disconnect mutex in chars_in_buffer Grab disconnect mutex in chars_in_buffer before checking disconnected flag or calling driver specific function. This allows subdrivers to query any hardware buffer status without having to handle the locking themselves. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed