commit | 6702cb2fe7186f95127573cf5216c2b011b18291 | [log] [tgz] |
---|---|---|
author | Lukasz Majewski <lukma@denx.de> | Wed Aug 01 14:48:53 2018 +0200 |
committer | Minkyu Kang <mk7.kang@samsung.com> | Mon Aug 06 10:53:53 2018 +0900 |
tree | cfedf54f5a0c287ac27076cb7178099c217aa626 | |
parent | 97d5c95a203b5af0911744e940cd9fe16dbd48ae [diff] |
ARM: dw_mmc: Exclude dwmci Exynos priv_data allocation from exynos_dwmci_get_config() This commit prevents memory leak when this function is used with DM_MMC as the struct dwmci_exynos_priv_data is already allocated by DM. It is necessary for NON DM aware devices to allocate this struct first. Signed-off-by: Lukasz Majewski <lukma@denx.de> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>