libata: Add the AHCI_HFLAG_YES_ALPM flag
authorDoug Berger <opendmb@gmail.com>
Wed, 21 Jun 2017 23:20:12 +0000 (16:20 -0700)
committerTejun Heo <tj@kernel.org>
Thu, 22 Jun 2017 20:12:59 +0000 (16:12 -0400)
commitef0da1bf767d9e557c6375c7066717eead54cb15
treeb14505fb37293098d814f455272c77b7ecff9aa8
parentd0318fb3c388a4082a4ea2b94fc242cd5c064cea
libata: Add the AHCI_HFLAG_YES_ALPM flag

Some hardware is capable of supporting Aggresive Link Power Management
even though it is not indicated by the Host Capability register.

This commit adds the AHCI_HFLAG_YES_ALPM flag to the AHCI library to
allow indication of this quirk when the Host Capability register is
Read Only and therefore cannot be changed.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci.h
drivers/ata/libahci.c