diff options
author | Lukasz Majewski <lukma@denx.de> | 2018-08-01 14:48:59 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2018-08-06 10:53:53 +0900 |
commit | 7c350a2a0fe52264d5aa55b9f7823c78dbb222d9 (patch) | |
tree | 2a0a27783223b981adc8d26f54ec725d91de800b /arch/arm/mach-tegra/dt-setup.c | |
parent | 54a1352a0d35914720924ecdfa09bb7f54e0526e (diff) |
ARM: Odroid XU3: Fix the dwmci_exynos *priv data assignment for DM_MMC (sdr_timing)
By convention for DM_MMC the host->priv is used to store struct udevice
*dev pointer.
Unfortunately, the legacy Exynos DW MMC code uses this field to
store pointer to dwmci_exynos_priv_data struct
Hence, we do need to get data in other way - namely by using container_of
when host pointer is present.
In this way the sdr_timing data is properly accessed.
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>
Diffstat (limited to 'arch/arm/mach-tegra/dt-setup.c')
0 files changed, 0 insertions, 0 deletions