]> asedeno.scripts.mit.edu Git - linux.git/commit
ata: ceva: Correct the AXI bus configuration for SATA ports
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Mon, 21 Aug 2017 11:17:22 +0000 (13:17 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 23 Oct 2017 14:09:27 +0000 (07:09 -0700)
commit6e037fb7708653035adbcd739ac295b9744e06cf
tree1daf968bfd88c91ba6274cfcfed0a03533aa1d5d
parent3bc867de85b5bfb2c1ba04b509783b92360af07d
ata: ceva: Correct the AXI bus configuration for SATA ports

Previously PAXIC register was programmed before configuring PCFG
register. PCFG should be programmed with the address of the port
for which PAXIC should be configured for.
This was not happening before, so only one port PAXIC was written
correctly and the other port was having wrong value.
This patch moves the PXAIC register write after configuring PCFG,
doing so will correct the axi bus settings for sata port0 & port1.

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/ahci_ceva.c