[U-Boot] [PATCH] i2c: Fix i2c speed command

2013-12-13 Thread Darwin Rambo
This corrects i2c core to interpret the value returned by i2c_set_bus_speed as a success indicator rather than the actual speed that was set. When i2c_set_bus_speed returns a failure code, the speed is unknown so the adapter speed is set to zero. Signed-off-by: Darwin Rambo dra...@broadcom.com

Re: [U-Boot] [PATCH] i2c: Fix i2c speed command

2013-12-13 Thread Jagan Teki
On Sat, Dec 14, 2013 at 2:27 AM, Darwin Rambo dra...@broadcom.com wrote: This corrects i2c core to interpret the value returned by i2c_set_bus_speed as a success indicator rather than the actual speed that was set. When i2c_set_bus_speed returns a failure code, the speed is unknown so the