Re: [PATCH 1/2] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset

2018-09-19 Thread Fabio Estevam
Hi Michal, On Wed, Sep 19, 2018 at 6:18 AM, Michal Vokáč wrote: > The reset signal can be produced by GPIO expander that can sleep. > In that case the probe function fails. Allow using GPIO expanders for > the reset signal by using the non-atomic gpiod_set_value_cansleep() > function. > >

Re: [PATCH 1/2] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset

2018-09-19 Thread Fabio Estevam
Hi Michal, On Wed, Sep 19, 2018 at 6:18 AM, Michal Vokáč wrote: > The reset signal can be produced by GPIO expander that can sleep. > In that case the probe function fails. Allow using GPIO expanders for > the reset signal by using the non-atomic gpiod_set_value_cansleep() > function. > >

[PATCH 1/2] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset

2018-09-19 Thread Michal Vokáč
The reset signal can be produced by GPIO expander that can sleep. In that case the probe function fails. Allow using GPIO expanders for the reset signal by using the non-atomic gpiod_set_value_cansleep() function. Signed-off-by: Michal Vokáč --- drivers/video/fbdev/ssd1307fb.c | 4 ++-- 1 file

[PATCH 1/2] video: ssd1307fb: Use gpiod_set_value_cansleep() for reset

2018-09-19 Thread Michal Vokáč
The reset signal can be produced by GPIO expander that can sleep. In that case the probe function fails. Allow using GPIO expanders for the reset signal by using the non-atomic gpiod_set_value_cansleep() function. Signed-off-by: Michal Vokáč --- drivers/video/fbdev/ssd1307fb.c | 4 ++-- 1 file