Skip to content
Commit 1b51d32c authored by li pengbo's avatar li pengbo Committed by Tom Rini
Browse files

sata: fix a bug in init_sata() for pci-sata card



Except the first loop, init_sata() should return 0 instead of 1
in the others.

This patch fix the issue of the 2nd sata port not workable on pci-sata card.

Signed-off-by: default avatarPengbo Li <Pengbo.Li@freescale.com>
parent f333b9f7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment