Commit d59baeb76f911d0391e73e5f6068e55ea48514f8

Authored by Roger Quadros
Committed by Tom Rini
1 parent 3160b1b986

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: Roger Quadros <rogerq@ti.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/arm/cpu/armv7/omap-common/sata.c
... ... @@ -70,7 +70,6 @@
70 70 writel(val, TI_SATA_WRAPPER_BASE + TI_SATA_SYSCONFIG);
71 71  
72 72 ret = ahci_init(DWC_AHSATA_BASE);
73   - scsi_scan(1);
74 73  
75 74 return ret;
76 75 }
... ... @@ -79,5 +78,6 @@
79 78 void scsi_init(void)
80 79 {
81 80 init_sata(0);
  81 + scsi_scan(1);
82 82 }