commit | 547d682d568271cf537af2850a066a287a51b62b | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Oct 29 09:07:31 2014 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Fri Nov 14 08:47:59 2014 -0800 |
tree | 82dc01ee43222989987c973081d2bdf89a9d2cc3 | |
parent | b0476c87764ac62d79390678cefb3821308a5d08 [diff] |
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 <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>