summaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2014-03-10 16:34:51 -0500
committerLee Jones <lee.jones@linaro.org>2014-03-19 09:00:00 +0000
commitf5dccb15877b82a40950c6f752d5345c86189fc9 (patch)
tree70ddb3e718a1f2924f21ab4d3129db4e3187cd69 /drivers/mfd
parent037b60f2ca9403d02cbee60ad0a10f3806f9dc4b (diff)
mfd: lpc_ich: Fix ACPI enable bitmask
The original bitmask of 0x10 was incorrect and would result in a write to a reserved read-only bit instead of enabling the ACPI I/O region. Update it to the proper value of 0x80. Signed-off-by: Peter Tyser <ptyser@xes-inc.com> Tested-by: Rajat Jain <rajatjain@juniper.net> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/lpc_ich.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c
index 17eff0925ac..2be85a4b36c 100644
--- a/drivers/mfd/lpc_ich.c
+++ b/drivers/mfd/lpc_ich.c
@@ -759,7 +759,7 @@ static void lpc_ich_enable_acpi_space(struct pci_dev *dev)
u8 reg_save;
pci_read_config_byte(dev, priv->acpi.ctrl, &reg_save);
- pci_write_config_byte(dev, priv->acpi.ctrl, reg_save | 0x10);
+ pci_write_config_byte(dev, priv->acpi.ctrl, reg_save | 0x80);
priv->acpi.save = reg_save;
}