diff options
author | Haibo Chen <haibo.chen@nxp.com> | 2022-07-18 16:31:43 +0800 |
---|---|---|
committer | Bartosz Golaszewski <brgl@bgdev.pl> | 2022-07-19 11:20:41 +0200 |
commit | b8c768ccdd8338504fb78370747728d5002b1b5a (patch) | |
tree | 898d9b9a8c092a68efcf4bd0d06e8d159fa66bc1 /tools/testing | |
parent | 2abc17a93867dc816f0ed9d32021dda8078e7330 (diff) | |
download | linux-stable-b8c768ccdd8338504fb78370747728d5002b1b5a.tar.gz linux-stable-b8c768ccdd8338504fb78370747728d5002b1b5a.tar.bz2 linux-stable-b8c768ccdd8338504fb78370747728d5002b1b5a.zip |
gpio: pca953x: use the correct register address when regcache sync during init
For regcache_sync_region, we need to use pca953x_recalc_addr() to get
the real register address.
Fixes: ec82d1eba346 ("gpio: pca953x: Zap ad-hoc reg_output cache")
Fixes: 0f25fda840a9 ("gpio: pca953x: Zap ad-hoc reg_direction cache")
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions