greybus: svc: fix hot-plug-state allocation flag
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 1 Sep 2015 10:25:26 +0000 (12:25 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 08:47:42 +0000 (10:47 +0200)
commit287bba82fe2f74dd89f7f24f2da438a7974e57af
tree20b50d28385f42d48045cb8dc9d45279c7f17a3e
parent89f637f716a90ec9da7a26d53ad883ea2b806e66
greybus: svc: fix hot-plug-state allocation flag

Use GFP_KERNEL for hot-plug state allocation in
gb_svc_intf_hotplug_recv, which is called from a request handler (i.e.
a work queue).

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