diff options
author | Hsin-Yi Wang <[email protected]> | 2023-03-27 12:48:05 +0800 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2023-03-27 11:53:39 +0200 |
commit | 1a2dbf0303e8793444a57a2eec0c6b29523657d9 (patch) | |
tree | 45f29bd950d2628a492b1764fc2b2a7dc365b43a /drivers/usb/cdns3/cdns3-debug.h | |
parent | 4334aec07a62e3b1afdf54f63dca757e4ce9518c (diff) |
drm/bridge: it6505: Add range and selector_reg
There are 2 banks on it6505, and when writing to different bank,
REG_BANK_SEL needs to be set to the targeted bank. The current code set
this additionally, which causes a race condition when a process is
writing bank 0 registers while another process set the bank to 1. Set
ranges in regmap config so the regmap API would handle the bank changes.
Signed-off-by: Hsin-Yi Wang <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Reviewed-by: Andrzej Hajda <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions