Feng Tang 0d5fb5ea7d i2c-eg20t: correct the driver init order of pch_i2c_probe()
Before registering an adapter to i2c subsystem, we need make sure
driver is ready for incoming i2c xfer, becasue the i2c_add_adapter()
may trigger a i2c device driver's proble function which may start
some real i2c xfer. I met this issue when integrating a TSC2007 i2c
touch screen device with the i2c-eg20t driver.

This patch will call request_irq() and hw init before calling
i2c_add_adapter().

Signed-off-by: Feng Tang <feng.tang@intel.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
2011-12-18 11:46:42 +00:00
..
2011-11-17 02:11:42 -05:00
2011-12-15 11:25:43 -07:00
2011-11-29 18:39:37 -05:00
2011-12-09 14:26:11 +11:00
2011-12-07 09:06:37 -08:00
2011-12-05 17:06:37 +01:00
2011-11-14 10:47:01 -06:00
2011-10-31 19:31:57 -04:00
2011-12-13 16:13:15 -08:00