[PATCH v2 3/5] i2c: davinci: calculate bus freq from Hz instead of kHz
Bartosz Golaszewski
brgl at bgdev.pl
Thu Oct 2 07:49:45 PDT 2025
On Thu, Oct 2, 2025 at 4:42 PM Marcus Folkesson
<marcus.folkesson at gmail.com> wrote:
>
> The bus frequency is unnecessarily converted between Hz and kHz in
> several places.
> This is probably an old legacy from the old times (pre-devicetrees)
> when the davinci_i2c_platform_data took the bus_freq in kHz.
>
> Stick to Hz.
>
> Signed-off-by: Marcus Folkesson <marcus.folkesson at gmail.com>
> ---
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski at linaro.org>
More information about the linux-arm-kernel
mailing list