On 17 June 2017 at 07:35, Bin Meng <bmeng...@gmail.com> wrote: > 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...@gmail.com> > --- > > drivers/ata/ahci.c | 5 ----- > 1 file changed, 5 deletions(-)
I just sent a similar patch but anyway I agree this is a good idea. Reviewed-by: Simon Glass <s...@chromium.org> Applied to u-boot-dm, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot