Re: [PATCH 1/1] pinctrl: exynos: Lock GPIOs as interrupts when used as EINTs

2014-08-21 Thread Linus Walleij
On Fri, Aug 8, 2014 at 6:48 PM, Javier Martinez Canillas wrote: > From: Tomasz Figa > > Currently after configuring a GPIO pin as an interrupt related pinmux > registers are changed, but there is no protection from calling > gpio_direction_*() in a badly written driver, which would cause the sam

Re: [PATCH 1/1] pinctrl: exynos: Lock GPIOs as interrupts when used as EINTs

2014-08-11 Thread Linus Walleij
On Sat, Aug 9, 2014 at 1:48 AM, Javier Martinez Canillas wrote: > From: Tomasz Figa > > Currently after configuring a GPIO pin as an interrupt related pinmux > registers are changed, but there is no protection from calling > gpio_direction_*() in a badly written driver, which would cause the sam

[PATCH 1/1] pinctrl: exynos: Lock GPIOs as interrupts when used as EINTs

2014-08-08 Thread Javier Martinez Canillas
From: Tomasz Figa Currently after configuring a GPIO pin as an interrupt related pinmux registers are changed, but there is no protection from calling gpio_direction_*() in a badly written driver, which would cause the same pinmux register to be reconfigured for regular input/output and this disa