Re: [PATCH] gpio: max730x: set gpiochip data pointeur before using it

2016-08-10 Thread Linus Walleij
On Mon, Aug 8, 2016 at 3:58 PM, Christophe Leroy wrote: > gpiochip_add_data() has to be called before calling > max7301_direction_input() Patch applied for fixes. Sorry for patching the driver broken :( Yours, Linus Walleij

[PATCH] gpio: max730x: set gpiochip data pointeur before using it

2016-08-08 Thread Christophe Leroy
gpiochip_add_data() has to be called before calling max7301_direction_input() [4.389883] Unable to handle kernel paging request for data at address 0x0018 [4.397282] Faulting instruction address: 0xc01a8cbc [4.402023] Oops: Kernel access of bad area, sig: 11 [#1] [4.407331] PR