OSDN Git Service

greybus: endo: fix endo-id allocation flag
authorJohan Hovold <johan@hovoldconsulting.com>
Tue, 1 Sep 2015 10:25:24 +0000 (12:25 +0200)
committerJohan Hovold <johan@hovoldconsulting.com>
Wed, 2 Sep 2015 08:47:06 +0000 (10:47 +0200)
commitc01c77ce4b2a7a39134d90f90ab964926ef88123
tree03a18d8f96e06ceb36a24f1a3df67f07027b5f29
parent2d465d57c8bbb0da96f352447e283e06bfa8513c
greybus: endo: fix endo-id allocation flag

Use GFP_KERNEL for endo ida allocation in gb_endo_register, which is not
called from atomic context.

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