[U-Boot] [PATCH 1/3] i2c: add i2c_core and prepare for new multibus support

Timur Tabi timur at freescale.com
Wed Jan 18 21:43:28 CET 2012


Mike Frysinger wrote:
> that's only needed if you expect the pointer to stay valid across calls.  i 
> don't think it does for most (all?) drivers.

True, but it's hard to know sometimes when it's needed.  I do it in my
code just to be sure.

Regardless, I still think the idea of a "current" i2c bus is flawed.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the U-Boot mailing list