diff options
author | Wolfram Sang <[email protected]> | 2023-09-06 22:00:21 +0200 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2023-09-19 11:10:54 +0200 |
commit | 47280af872367ead8202b8503083b0b4016b667b (patch) | |
tree | 29e03a3e4dabb9cd1a8472c11a45b822a4e2d8f0 /rust/macros/helpers.rs | |
parent | d72857907af04f47e6844544160be42b0ad56edd (diff) |
i2c: rcar: calculate divider instead of brute-forcing it
Instead of trying all values, we can actually compute it as the comment
suggests. It is unclear what the comment means with "involved", it works
nicely.
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'rust/macros/helpers.rs')
0 files changed, 0 insertions, 0 deletions