[U-Boot] [PATCH] i2c, core: optimze i2c_set_bus_num()

Heiko Schocher hs at denx.de
Thu Oct 17 08:24:25 CEST 2013


Hello Heiko,

Am 04.10.2013 07:36, schrieb Heiko Schocher:
> check first, if we are on the bus, we want to enable. If so,
> return immediately, do not calc max adapter number, nor check
> other things.
>
> Signed-off-by: Heiko Schocher<hs at denx.de>
> Cc: Lukasz Majewski<l.majewski at samsung.com>
> ---
>   drivers/i2c/i2c_core.c | 18 ++++++++++--------
>   1 file changed, 10 insertions(+), 8 deletions(-)

Applied to u-boot-i2c.git

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list