]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: omap_hsmmc: fix NULL pointer dereference for dt boot
authorBalaji T K <balajitk@ti.com>
Mon, 15 Oct 2012 16:05:08 +0000 (21:35 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 7 Nov 2012 20:01:54 +0000 (15:01 -0500)
commitee0b3af109c95e015fca2ea2b7e0f7d2ceb7cd4c
tree292d044d8c4f1fe9a7464b685debea36ceaf7e27
parentb5798467e7ff6844c84ee0ed3bd4509d63464141
mmc: omap_hsmmc: fix NULL pointer dereference for dt boot

dev->platform_data is NULL in case of device tree boot,
instead use the saved version in struct omap_hsmmc_host.

Signed-off-by: Balaji T K <balajitk@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/omap_hsmmc.c