diff options
author | Wenhua Lin <Wenhua.Lin@unisoc.com> | 2024-01-02 16:28:29 +0800 |
---|---|---|
committer | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-01-03 09:50:47 +0100 |
commit | 0f57b21300c8c7d3500de995ab3018cc7ec41249 (patch) | |
tree | 152139cfc9c51dcfb2a574f1989e82ecd7a6e431 /scripts/gdb/linux/vfs.py | |
parent | f34fd6ee1be84c6e64574e9eb58f89d32c7f98a4 (diff) |
gpio: pmic-eic-sprd: Configure the bit corresponding to the EIC through offset
A bank PMIC EIC contains 16 EICs, and the operating registers
are BIT0-BIT15, such as BIT0 of the register operated by EIC0.
Using the one-dimensional array reg[CACHE_NR_REGS] for maintenance
will cause the configuration of other EICs to be affected when
operating a certain EIC. In order to solve this problem, configure
the bit corresponding to the EIC through offset.
Signed-off-by: Wenhua Lin <Wenhua.Lin@unisoc.com>
Reviewed-by: Chunyan Zhang <zhang.lyra@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Diffstat (limited to 'scripts/gdb/linux/vfs.py')
0 files changed, 0 insertions, 0 deletions