]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitec6e21d58033e448e2e335c2eb758abe2f9b6a91
treebdc552dfb83b4320ef4e5c1f8d0141050d902a47
parentfe6ae08783c81d77644d6f9d06dd301ef487c1fa
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