Searched hist:"45 d9ae87cbe9b2e76a856647c35da83535af2984" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/i2c/ |
| H A D | s3c24x0_i2c.c | 45d9ae87cbe9b2e76a856647c35da83535af2984 Fri Jul 03 00:15:47 UTC 2015 Simon Glass <sjg@chromium.org> exynos: i2c: Tidy up the driver model code
The existing driver model implementation uses the old non-driver-model code to operate, but has become impossibly tangled as a result. The actual algorithm is quite simple.
Also the normal-speed and high-speed buses are quite different and it doesn't seem that useful to put them in the same driver.
Finally, there is a bug which breaks communication with the Maxim sound codec and may cause problems with other device.
Rewrite the driver model code for normal-speed operation so that it is easier to understand, and fix the bug. Add a TODO to split the drivers.
Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
|