commit | b88c1efadbf061c2e2b0bf80738892fc7559094e | [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 | d06ac6034d798a339c58246d81763a074f742835 [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>