Commit 03a56596 authored by Wenbin Mei's avatar Wenbin Mei Committed by Lee Jones
Browse files

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: default avatarWenbin 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: default avatarUlf Hansson <ulf.hansson@linaro.org>
(cherry picked from commit d594b35d)
Signed-off-by: default avatarLee Jones <joneslee@google.com>
Change-Id: I32436197cb29484d47d5c6c31e0488f2624b2199
parent ac6122b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment