Commit f5dccb15877b82a40950c6f752d5345c86189fc9
Committed by
Lee Jones
1 parent
037b60f2ca
Exists in
master
and in
13 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
drivers/mfd/lpc_ich.c
... | ... | @@ -759,7 +759,7 @@ |
759 | 759 | u8 reg_save; |
760 | 760 | |
761 | 761 | pci_read_config_byte(dev, priv->acpi.ctrl, ®_save); |
762 | - pci_write_config_byte(dev, priv->acpi.ctrl, reg_save | 0x10); | |
762 | + pci_write_config_byte(dev, priv->acpi.ctrl, reg_save | 0x80); | |
763 | 763 | priv->acpi.save = reg_save; |
764 | 764 | } |
765 | 765 |