Skip to content
Commit 3661aa99 authored by Thomas Petazzoni's avatar Thomas Petazzoni Committed by Tejun Heo
Browse files

ata: sata_mv: add proper definitions for LP_PHY_CTL register values

Commit 9013d64e

 ("ata: sata_mv: fix disk hotplug for Armada
370/XP SoCs") added some manipulation of the LP_PHY_CTL register, but
using magic values. This commit changes the code to use proper
definitions for the LP_PHY_CTL register, which allows to document what
the different bits are doing.

Signed-off-by: default avatarThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: default avatarSimon Guinot <simon.guinot@sequanux.org>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent 7b09ac70
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