From: Johan Hovold Date: Fri, 26 Jul 2013 09:55:17 +0000 (+0200) Subject: USB: mos7840: fix race in register handling X-Git-Tag: v3.2.51~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6380025aff7900370d4488ee4bfd95ac6c6491d5;p=pandora-kernel.git USB: mos7840: fix race in register handling commit d8a083cc746664916d9d36ed9e4d08a29525f245 upstream. Fix race in mos7840_get_reg which unconditionally manipulated the control urb (which may already be in use) by adding a control-urb busy flag. Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-Hartman [bwh: Backported to 3.2: adjust context] Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed