diff options
-rw-r--r-- | drivers/block/dwc_ahsata.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/dwc_ahsata.c b/drivers/block/dwc_ahsata.c index c306e92..c05896f 100644 --- a/drivers/block/dwc_ahsata.c +++ b/drivers/block/dwc_ahsata.c @@ -615,6 +615,9 @@ int reset_sata(int dev) while (readl(&host_mmio->ghc) & SATA_HOST_GHC_HR) udelay(100); + free(probe_ent); + memset(&sata_dev_desc[dev], 0, sizeof(struct blk_desc)); + return 0; } |