diff options
author | Lars-Peter Clausen <[email protected]> | 2023-01-07 13:18:14 -0800 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-03-16 20:29:38 +0100 |
commit | ff0cf7bca63092786d640820a18f3e746b02e172 (patch) | |
tree | 6edbdc504ca02d0bfd5eb43a004f4587a0311a46 /drivers/usb/cdns3/cdns3-debug.h | |
parent | e9d373c3feffc7fb36927837254c25081b3da4a9 (diff) |
i2c: cadence: Remove unnecessary register reads
In the `cdns_i2c_mrecv()` function the CTRL register of the Cadence I2C
controller is written and read back multiple times. The register value does
not change on its own. So it is possible to remember the just written value
instead of reading it back from the hardware.
Signed-off-by: Lars-Peter Clausen <[email protected]>
Acked-by: Michal Simek <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions