]> Git Repo - u-boot.git/commit
i2c, core: optimze i2c_set_bus_num()
authorHeiko Schocher <[email protected]>
Fri, 4 Oct 2013 05:36:34 +0000 (07:36 +0200)
committerHeiko Schocher <[email protected]>
Thu, 17 Oct 2013 05:20:25 +0000 (07:20 +0200)
commit13c2433ccb4d9a5efb95ad953c2b3a0eb1909988
tree07ae7a7a85312a50dc132a40a1e54ddf98652350
parent1086bfa9f49127e40a92b1225af1ed5e41f8fa1c
i2c, core: optimze i2c_set_bus_num()

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 <[email protected]>
Cc: Lukasz Majewski <[email protected]>
Acked-by: Lukasz Majewski <[email protected]>
drivers/i2c/i2c_core.c
This page took 0.032634 seconds and 4 git commands to generate.