i2c: designware: Default to fast mode in case of ACPI
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 30 Sep 2014 10:04:53 +0000 (13:04 +0300)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 6 Oct 2014 17:49:28 +0000 (19:49 +0200)
commit0b26c845dfd554dd9030efbf0249d3830251e58b
treebdc552dfb83b4320ef4e5c1f8d0141050d902a47
parent08678b850cd0c49cc49c7fed0c93f720f85368e8
i2c: designware: Default to fast mode in case of ACPI

There is no way in ACPI to tell in which speed the host controller is
supposed to run, so we default to fast mode (400KHz). Since this has been
the default all the time there should be no functional changes with this
change.

This is the first step required to refactor the driver probe so that we can
supply source clock from ACPI part of the driver to the core.

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