Skip to content
Commit da8fa9cc authored by Doug Berger's avatar Doug Berger Committed by Tejun Heo
Browse files

ata: ahci_brcm: Avoid writing to read-only registers



This commit makes use of the AHCI_HFLAG_YES_ALPM flag to prevent
the driver from writing to the read-only Host Capability register.

It also sets the AHCI_HFLAG_NO_WRITE_TO_RO flag to prevent the AHCI
library from writing to read-only registers.

Signed-off-by: default avatarDoug Berger <opendmb@gmail.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7fab72f8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment