All of lore.kernel.org
 help / color / mirror / Atom feed
* bcm63xx gpio issue on 3.19
@ 2015-03-09 17:53 Nicolas Schichan
  2015-03-11  5:23   ` Alexandre Courbot
  0 siblings, 1 reply; 7+ messages in thread
From: Nicolas Schichan @ 2015-03-09 17:53 UTC (permalink / raw)
  To: Alexandre Courbot, linux-mips; +Cc: Maxime Bizon


Hello Alexandre,

Using the latest 3.19 kernel, the bcm63xx GPIO code under
arch/mips/bcm63xx/gpio.c is unable to register the gpio chip via
gpiochip_add(), as it returns -ENOMEM. The kcalloc call for the gpio_desc
array fails, as during prom code, it is too early for the kmalloc to work.

It looks like the issue is caused by your patch: "gpio: remove gpio_descs
global array"

Could you please advise on how to fix/workaround that ? (ideally while keeping
the possibility to invoke the gpiolib code from the setup/prom code).

Regards,

-- 
Nicolas Schichan
Freebox SAS

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-03-18 10:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-09 17:53 bcm63xx gpio issue on 3.19 Nicolas Schichan
2015-03-11  5:23 ` Alexandre Courbot
2015-03-11  5:23   ` Alexandre Courbot
2015-03-11 17:49   ` Nicolas Schichan
2015-03-12  4:03     ` Alexandre Courbot
2015-03-12  4:03       ` Alexandre Courbot
2015-03-18 10:02     ` Linus Walleij

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.