summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpi_lpss.c
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-01-23 08:42:39 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-01-23 22:08:19 +0100
commitb893e80e314749bce4597a262b7d04e929016e51 (patch)
tree67de591e0288506cfd44c32a4bf6857f2529be24 /drivers/acpi/acpi_lpss.c
parentACPI / LPSS: check the result of ioremap() (diff)
downloadlinux-b893e80e314749bce4597a262b7d04e929016e51.tar.xz
linux-b893e80e314749bce4597a262b7d04e929016e51.zip
ACPI / LPSS: Remove non-existing clock control from Intel Lynxpoint I2C
Intel Lynxpoint I2C does not have clock parameter register like SPI and UART do have. Therefore remove LPSS_CLK_GATE flag from the Lynxpoint I2C device description in order to not needlessly toggle clock enable bit in non-existing register. Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpi_lpss.c')
-rw-r--r--drivers/acpi/acpi_lpss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpi_lpss.c b/drivers/acpi/acpi_lpss.c
index d12f98abf836..794cf3e13619 100644
--- a/drivers/acpi/acpi_lpss.c
+++ b/drivers/acpi/acpi_lpss.c
@@ -129,7 +129,7 @@ static struct lpss_device_desc lpt_dev_desc = {
};
static struct lpss_device_desc lpt_i2c_dev_desc = {
- .flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR,
+ .flags = LPSS_CLK | LPSS_LTR,
.prv_offset = 0x800,
};