]> git.baikalelectronics.ru Git - kernel.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)
commit98e24f9e97eadd477837d7992fd907a8f61cc3a7
treefbdfbc2eae32eba628deb30cd9623c0fe6eecebc
parentcb40bfb81f9ed1afb5a651c0228dbfab796e9858
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