commit | 886d3672e8bb07b2f9a663dff2e748607a50e8b6 | [log] [tgz] |
---|---|---|
author | li pengbo <Pengbo.Li@freescale.com> | Wed Nov 12 19:16:40 2014 +0800 |
committer | Tom Rini <trini@ti.com> | Sun Nov 23 06:49:01 2014 -0500 |
tree | 5371840500ac23e3b8c6668aac6653998365f77c | |
parent | 0056238de96d1499a2dcc3b20305647b3364988a [diff] |
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: Pengbo Li <Pengbo.Li@freescale.com>