[PATCH] gpiolib: remove warnning of allocations with IRQs disabled
Linus Walleij
linus.walleij at linaro.org
Thu Jun 20 04:39:34 EDT 2013
On Sun, Jun 9, 2013 at 5:08 AM, Zhangfei Gao <zhangfei.gao at linaro.org> wrote:
> Move of_gpiochip_add outof spin_lock, since kzalloc inside
> of_gpiochip_add -> of_gpiochip_add_pin_range -> gpiochip_add_pin_range -> kzalloc
>
> WARNING: at kernel/lockdep.c:2740 lockdep_trace_alloc+0xf8/0xfc()
> DEBUG_LOCKS_WARN_ON(irqs_disabled_flags(flags))
>
> Signed-off-by: Zhangfei Gao <zhangfei.gao at linaro.org>
Patch applied, thanks.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list