Re: [PATCH v3 22/23] i2c: designware_i2c: Separate out the speed calculation

2020-04-22 Thread Simon Glass
Hi Heinrich, On Wed, 22 Apr 2020 at 00:43, Heinrich Schuchardt wrote: > > On 1/23/20 7:48 PM, Simon Glass wrote: > > 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 fu

Re: [PATCH v3 22/23] i2c: designware_i2c: Separate out the speed calculation

2020-04-21 Thread Heinrich Schuchardt
On 1/23/20 7:48 PM, Simon Glass wrote: > 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

[PATCH v3 22/23] i2c: designware_i2c: Separate out the speed calculation

2020-01-23 Thread Simon Glass
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. Sign