]> asedeno.scripts.mit.edu Git - linux.git/commit
gpio: pca953x: set the PCA_PCAL flag also when matching by DT
authorH. Nikolaus Schaller <hns@goldelico.com>
Thu, 17 May 2018 04:59:47 +0000 (06:59 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 23 May 2018 11:49:09 +0000 (13:49 +0200)
commit0cdf21b34e3062af8da0a2a1c419654263c21b87
treefbdfbc2eae32eba628deb30cd9623c0fe6eecebc
parent0a70fe00efea7c6ac087a10aa57131e59d63e194
gpio: pca953x: set the PCA_PCAL flag also when matching by DT

The of_device_table is missing the PCA_PCAL flag so the
pcal6524 would be operated in tca6424 compatibility mode which
does not handle the new interrupt mask registers.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c