commit | e681286de221af78fc85db9222b6a203148c005a | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Oct 29 09:07:31 2014 +0100 |
committer | Johan Hovold <johan@kernel.org> | Mon Nov 03 09:07:30 2014 +0100 |
tree | 10200bb2cafde8e2097b2ad139eb66042c1dda63 | |
parent | 191252837626fca0de694c18bb2aa64c118eda89 [diff] |
USB: opticon: fix non-atomic allocation in write path 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") Cc: stable <stable@vger.kernel.org> Signed-off-by: Johan Hovold <johan@kernel.org>