diff options
| author | Ludovic Desroches <ludovic.desroches@atmel.com> | 2016-04-19 16:03:45 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-05-18 17:06:47 -0700 |
| commit | 1fba064f789e053be80f1ee38c70abde71f584e2 (patch) | |
| tree | 984a9b422f7339378f688d2b6015b2105a06d0c0 /kernel/workqueue.c | |
| parent | 1441dcbdcbe529fd7f0db6fd95b4bc9d867e04bb (diff) | |
pinctrl: at91-pio4: fix pull-up/down logic
commit 5305a7b7e860bb40ab226bc7d58019416073948a upstream.
The default configuration of a pin is often with a value in the
pull-up/down field at chip reset. So, even if the internal logic of the
controller prevents writing a configuration with pull-up and pull-down at
the same time, we must ensure explicitly this condition before writing the
register.
This was leading to a pull-down condition not taken into account for
instance.
Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Fixes: 776180848b57 ("pinctrl: introduce driver for Atmel PIO4 controller")
Acked-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
