summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-11-07 12:39:17 +0100
committerKever Yang <[email protected]>2025-12-14 00:02:10 +0800
commitc9d27133159d0a84bf11052f588194a734cb48d4 (patch)
tree673c9af782e1d2b63680505874e1124ed6659e1e /scripts
parent73159af02d023d01d9c4c08d319eb86cb10f1983 (diff)
rockchip: i2c: fix incorrect STOP flag for the interrupt enable register
I2C_CON_STOP is a flag to be used for the con register, where it is bit 4 to send the STOP condition. To enable the interrupt the controller sends to tell it's finished sending the STOP condition, it's the ien register at bit 5. Let's use the proper offset. My hunch is that enabling the interrupt is useless as the interrupt status register is always up-to-date and enabling the interrupt is just so that the interrupt is available via the GIC. However, U-Boot has no interrupt support and the logic was working well before this patch. This is just so people aren't side-tracked when debugging I2C issues on Rockchip by checking all writes are proper. Fixes: 3437469985df ("rockchip: Add I2C driver") Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Heiko Schocher <[email protected]> Reviewed-by: Kever Yang <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions