Skip to content
Commit 551288bd authored by John Keeping's avatar John Keeping Committed by Heiko Schocher
Browse files

rockchip: i2c: move register write out of inner loop



There is no point in writing intermediate values to the txdata
registers.

Also add padding to the debug logging to make it easier to read when
there are leading zeroes.

Signed-off-by: default avatarJohn Keeping <john@metanate.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
parent 80333fd8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment