diff options
author | Feng Tang <feng.tang@intel.com> | 2011-11-29 15:19:10 +0800 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-12-18 11:46:42 +0000 |
commit | 0d5fb5ea7d0e6bc84a523c39a666d7eb1a7e43de (patch) | |
tree | a8bc64c79cfcaa834ebe726ebed3f0648b6f12e2 /drivers/ata | |
parent | 1d5a34fe990c9e2e2f672b238ad881d0d4ed376b (diff) |
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>
Diffstat (limited to 'drivers/ata')
0 files changed, 0 insertions, 0 deletions