]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
pinctrl-sx150x: Fix incorrect constant in sx150x_init_hw
authorAndrey Smirnov <andrew.smirnov@gmail.com>
Mon, 7 Nov 2016 16:53:13 +0000 (08:53 -0800)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 8 Nov 2016 08:36:48 +0000 (09:36 +0100)
commit9af2ca82b33f82dfb015706696a9cdf55b8feaa0
tree849af1386433722a1751fa3ada5f868742d894f7
parent7d68a79acfd56eea1351fc56d9e454e07912a8ec
pinctrl-sx150x: Fix incorrect constant in sx150x_init_hw

According to the datasheet for SX1504/5/6, RegAdvanced's
"Autoclear NINT" bit that turns the feature when set and disables it
when cleared, so writing 0x04 to the register will have the opposite
from desirable effect.

Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Acked-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-sx150x.c