From: Johan Hovold Date: Wed, 29 Oct 2014 08:07:31 +0000 (+0100) Subject: USB: opticon: fix non-atomic allocation in write path X-Git-Tag: v3.2.65~59 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ce77510c9c7dc76bd03687daa7d909aee948182;p=pandora-kernel.git USB: opticon: fix non-atomic allocation in write path commit e681286de221af78fc85db9222b6a203148c005a upstream. Write may be called from interrupt context so make sure to use GFP_ATOMIC for all allocations in write. Fixes: 0d930e51cfe6 ("USB: opticon: Add Opticon OPN2001 write support") Signed-off-by: Johan Hovold Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed