Re: [PATCH] gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()

2018-01-11 Thread Jan Kundrát
On úterý 9. ledna 2018 19:08:21 CET, Geert Uytterhoeven wrote: Since commit f11a04464ae57e8d ("i2c: gpio: Enable working over slow can_sleep GPIOs"), probing the i2c RTC connected to an i2c-gpio bus on r8a7740/armadillo fails with: rtc-s35390a 0-0030: error resetting chip rtc-s35390a:

Re: [PATCH] gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()

2018-01-10 Thread Geert Uytterhoeven
Hi Linus, On Wed, Jan 10, 2018 at 2:17 PM, Linus Walleij wrote: > On Tue, Jan 9, 2018 at 7:08 PM, Geert Uytterhoeven > wrote: > >> Since commit f11a04464ae57e8d ("i2c: gpio: Enable working over slow >> can_sleep GPIOs"), probing the i2c RTC

Re: [PATCH] gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()

2018-01-10 Thread Linus Walleij
On Tue, Jan 9, 2018 at 7:08 PM, Geert Uytterhoeven wrote: > Since commit f11a04464ae57e8d ("i2c: gpio: Enable working over slow > can_sleep GPIOs"), probing the i2c RTC connected to an i2c-gpio bus on > r8a7740/armadillo fails with: > > rtc-s35390a 0-0030: error

[PATCH] gpio: Add missing open drain/source handling to gpiod_set_value_cansleep()

2018-01-09 Thread Geert Uytterhoeven
Since commit f11a04464ae57e8d ("i2c: gpio: Enable working over slow can_sleep GPIOs"), probing the i2c RTC connected to an i2c-gpio bus on r8a7740/armadillo fails with: rtc-s35390a 0-0030: error resetting chip rtc-s35390a: probe of 0-0030 failed with error -5 More debug code reveals: