Commit 76300c0d2d63bb7cb02679bf749f30ae4a1ca969

Authored by Roger Quadros
Committed by Tom Rini
1 parent d59baeb76f

common: spl_sata: perform SCSI scan before getting device

At least on OMAP, init_sata() no longer performs scsi_scan()
so we must do it explicitly here.

Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Roger Quadros <rogerq@ti.com>

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

common/spl/spl_sata.c
... ... @@ -32,6 +32,7 @@
32 32 hang();
33 33 } else {
34 34 /* try to recognize storage devices immediately */
  35 + scsi_scan(0);
35 36 stor_dev = scsi_get_dev(0);
36 37 }
37 38