MLK-14930-2 dwc_ahsata: Fix memory issue in reset_sata
authorYe Li <ye.li@nxp.com>
Wed, 24 May 2017 07:13:00 +0000 (02:13 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:52 +0000 (02:36 +0800)
commit93112aa5fee8cd5db42d48c5e12d1848aed1593f
treeb8bc1a47de95b27a5ce2b3fe0b416e82192ae345
parent4045d108ca8b190811dd2e8f8e3596fd0ee4153e
MLK-14930-2 dwc_ahsata: Fix memory issue in reset_sata

The reset_sata should reset the sata device info and free the probe_ent
memory. Otherwise, it will cause memory leak if we init the sata again.

Signed-off-by: Ye Li <ye.li@nxp.com>
drivers/block/dwc_ahsata.c