i2c-designware: move controller config to bus specific portion of driver
authorDirk Brandewie <dirk.brandewie@gmail.com>
Thu, 25 Aug 2011 11:14:03 +0000 (12:14 +0100)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:37:37 +0000 (12:37 -0800)
commitc5a0d6a29723c192e04ff1f0ba47834e57a9bdae
treeef2c0decc46412ae5fa7391f24ae76f60c4cbbec
parent01b7d4a889a5b259f62ebe35e9f16216d35a4adf
i2c-designware: move controller config to bus specific portion of driver

With multiple I2C adapters possible in the system each running at
(possibly) different speeds we need to move the controller
configuration bit field to the adapter.

Signed-off-by: Dirk Brandewie <dirk.brandewie@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Alan Cox <alan@linux.intel.com>
drivers/i2c/busses/i2c-designware-core.c
drivers/i2c/busses/i2c-designware-core.h
drivers/i2c/busses/i2c-designware-platdrv.c