[PATCH v2 09/19] i2c: designware_i2c: Drop scl_sda_cfg parameter

Heiko Schocher hs at denx.de
Thu Jan 16 07:50:30 CET 2020


Hello Simon,

Am 03.01.2020 um 23:26 schrieb Simon Glass:
> Instead of passing this parameter into __dw_i2c_set_bus_speed(), pass in
> the driver's private data, from which the function can obtain that
> information. This allows the function to have access to the full state of
> the driver.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
> 
> Changes in v2: None
> 
>   drivers/i2c/designware_i2c.c | 14 ++++++++------
>   1 file changed, 8 insertions(+), 6 deletions(-)

Reviewed-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list