commit | 9c1390d4b988b1c7170dca9d06539ea1a363dfe7 | [log] [tgz] |
---|---|---|
author | Bin Meng <bmeng.cn@gmail.com> | Sat Jun 17 06:35:59 2017 -0700 |
committer | Simon Glass <sjg@chromium.org> | Fri Jul 28 12:02:47 2017 -0600 |
tree | 697ea396132239cee8967a8f85d449b52e769c93 | |
parent | 26722335253a9fa384ceb423419254cb00d0def1 [diff] |
dm: ahci: Avoid scsi_scan_dev() in ahci_probe_scsi() Running 'scsi scan' command causes scsi_scan_dev() to be called, from which device_probe() is called and consequently AHCI driver probe routine will be called as SCSI driver's parent, and finally ahci_probe_scsi() calls scsi_scan_dev() again. Remove the call to scsi_scan_dev() in ahci_probe_scsi(). Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>