diff options
author | Mario Limonciello <mario.limonciello@amd.com> | 2022-02-25 20:23:19 +0300 |
---|---|---|
committer | Damien Le Moal <damien.lemoal@opensource.wdc.com> | 2022-03-01 17:51:20 +0300 |
commit | 4dd4d3deb5026ee7356e23ce2607637ff313bb80 (patch) | |
tree | 89754fb7f45ff243e820ea743ff137d86453cc11 /drivers/ata/ahci.c | |
parent | e5c894791eabf13f3754ee0b28a3a8c1c5660d41 (diff) | |
download | linux-4dd4d3deb5026ee7356e23ce2607637ff313bb80.tar.xz |
ata: ahci: Rename CONFIG_SATA_LPM_MOBILE_POLICY configuration item
`CONFIG_SATA_LPM_MOBILE_POLICY` reflects a configuration to apply only to
mobile chipsets. As some desktop boards may want to use this policy by
default as well, rename the configuration item to `SATA_LPM_POLICY`.
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
Diffstat (limited to 'drivers/ata/ahci.c')
-rw-r--r-- | drivers/ata/ahci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 397dfd27c90d..84456c05e845 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -1595,7 +1595,7 @@ static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports, static void ahci_update_initial_lpm_policy(struct ata_port *ap, struct ahci_host_priv *hpriv) { - int policy = CONFIG_SATA_MOBILE_LPM_POLICY; + int policy = CONFIG_SATA_LPM_POLICY; /* Ignore processing for chipsets that don't use policy */ |