summaryrefslogtreecommitdiffstats
path: root/net/switchdev
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2017-01-10 16:38:52 +0200
committerLinus Walleij <linus.walleij@linaro.org>2017-01-11 14:08:53 +0100
commit04ff5a095d662e0879f0eb04b9247e092210aeff (patch)
tree19001172cc9967c3c4f3db6654848dd42a1503ed /net/switchdev
parent17fab473693e8357a9aa6fee4fbed6c13a34bd81 (diff)
downloadblackbird-op-linux-04ff5a095d662e0879f0eb04b9247e092210aeff.tar.gz
blackbird-op-linux-04ff5a095d662e0879f0eb04b9247e092210aeff.zip
pinctrl: baytrail: Rectify debounce support
The commit 658b476c742f ("pinctrl: baytrail: Add debounce configuration") implements debounce for Baytrail pin control, but seems wasn't tested properly. The register which keeps debounce value is separated from the configuration one. Writing wrong values to the latter will guarantee wrong behaviour of the driver and even might break something physically. Besides above there is missed case how to disable it, which is actually done through the bit in configuration register. Rectify implementation here by using proper register for debounce value. Fixes: 658b476c742f ("pinctrl: baytrail: Add debounce configuration") Cc: Cristina Ciocan <cristina.ciocan@intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud