commit | bcad855195bcb3b48f4b89e30ab31eebde2faa2b | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@kernel.org> | Wed Oct 29 09:07:31 2014 +0100 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sun Apr 05 10:20:55 2020 +0200 |
tree | 064f78253e91c2d174f5eeb1f4953ca7376eddec | |
parent | 7f1e5c9d029284ba31112ac9639775f48dcf1fa8 [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: Zefan Li <lizefan@huawei.com>