UPSTREAM: mmc: mediatek: free the ext_csd when mmc_get_ext_csd success
If mmc_get_ext_csd success, the ext_csd are not freed. Add the missing kfree() calls. Bug: 254441685 Signed-off-by:Wenbin Mei <wenbin.mei@mediatek.com> Fixes: c4ac38c6 ("mmc: mtk-sd: Add HS400 online tuning support") Link: https://lore.kernel.org/r/20211207075013.22911-1-wenbin.mei@mediatek.com Signed-off-by:
Ulf Hansson <ulf.hansson@linaro.org> (cherry picked from commit d594b35d) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I32436197cb29484d47d5c6c31e0488f2624b2199
Loading
Please sign in to comment