From: Peter Tyser Date: Mon, 10 Mar 2014 21:34:51 +0000 (-0500) Subject: mfd: lpc_ich: Fix ACPI enable bitmask X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f5dccb15877b82a40950c6f752d5345c86189fc9;p=linux-beck.git 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 Tested-by: Rajat Jain Reviewed-by: Guenter Roeck Signed-off-by: Lee Jones --- diff --git a/drivers/mfd/lpc_ich.c b/drivers/mfd/lpc_ich.c index 17eff0925ac1..2be85a4b36c0 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, ®_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; }