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>
This commit is contained in:
parent
d59baeb76f
commit
76300c0d2d
|
@ -32,6 +32,7 @@ void spl_sata_load_image(void)
|
|||
hang();
|
||||
} else {
|
||||
/* try to recognize storage devices immediately */
|
||||
scsi_scan(0);
|
||||
stor_dev = scsi_get_dev(0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue