From: Oliver Neukum Date: Mon, 19 May 2014 11:52:20 +0000 (+0200) Subject: USB: yurex: fix race between probe() and read() X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~34^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c78d1ecfd7e639f21c7a809f4df6de1a644a91f0;p=pandora-kernel.git USB: yurex: fix race between probe() and read() There's a window during which read() would return 0 instead of a correct error for no data yet. Reorder initialization to fix the race. Signed-off-by: Oliver Neukum Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed