Skip to content
Snippets Groups Projects
Commit d59baeb7 authored by Roger Quadros's avatar Roger Quadros Committed by Tom Rini
Browse files

ARM: OMAP5+: sata: Move scsi_scan() to the right place


scsi_scan() must be called as part of scsi_init() and not
as part of sata_init().

Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
parent 3160b1b9
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,6 @@ int init_sata(int dev)
writel(val, TI_SATA_WRAPPER_BASE + TI_SATA_SYSCONFIG);
ret = ahci_init(DWC_AHSATA_BASE);
scsi_scan(1);
return ret;
}
......@@ -79,4 +78,5 @@ int init_sata(int dev)
void scsi_init(void)
{
init_sata(0);
scsi_scan(1);
}
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