]> 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)
commitec9d91b999c266a9f7f56d96d4261080e9bd9e5e
treefbdfbc2eae32eba628deb30cd9623c0fe6eecebc
parent09ef1cba3da4876bfb80bf4bfe90a230df88b399
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