diff options
| author | 2024-01-02 16:28:29 +0800 | |
|---|---|---|
| committer | 2024-01-03 09:50:47 +0100 | |
| commit | 0f57b21300c8c7d3500de995ab3018cc7ec41249 (patch) | |
| tree | 152139cfc9c51dcfb2a574f1989e82ecd7a6e431 /include/uapi/linux/byteorder/ssh:/git: | |
| parent | gpio: dwapb: Use generic request, free and set_config (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 'include/uapi/linux/byteorder/ssh:/git:')
0 files changed, 0 insertions, 0 deletions
