i2c: designware: Rework probe() to get clock a bit later
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 30 Sep 2014 10:04:54 +0000 (13:04 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 6 Oct 2014 17:49:51 +0000 (19:49 +0200)
commit925ddb240d6c76e56dd3aa22493f5755c452ba61
tree333b0683d4753a81a9441b927109b39199606dc4
parent0b26c845dfd554dd9030efbf0249d3830251e58b
i2c: designware: Rework probe() to get clock a bit later

In order to be able to create missing clock for AMD (and in future possibly
others) we move getting clock for the device a bit later. Also make ACPI/DT
configuration in the same place depending on from where the device was
enumerated from.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-designware-platdrv.c