Skip to content
Snippets Groups Projects
Commit 23ad52eb authored by Simon Glass's avatar Simon Glass Committed by Heiko Schocher
Browse files

i2c: designware_i2c: Separate out the speed calculation


We want to be able to calculate the speed separately from actually setting
the speed, so we can generate the required ACPI tables. Split out the
calculation into its own function.

Drop the double underscore on __dw_i2c_set_bus_speed while we are here.
That is reserved for compiler internals.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent a8d2b515
No related branches found
No related tags found
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