OSDN Git Service

greybus: svc: fix device-id allocation flag
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 1 Sep 2015 10:25:25 +0000 (12:25 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 08:47:28 +0000 (10:47 +0200)
commit89f637f716a90ec9da7a26d53ad883ea2b806e66
treedfe8b0fa01c91562a106b6684164d4ba6a0afd61
parentc01c77ce4b2a7a39134d90f90ab964926ef88123
greybus: svc: fix device-id allocation flag

Use GFP_KERNEL for device-id allocation in svc_process_hotplug, which is
called from a work queue.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/staging/greybus/svc.c