]> git.karo-electronics.de Git - karo-tx-linux.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>
Mon, 29 Oct 2012 16:54:26 +0000 (12:54 -0400)
commit917af2e518d86da30e4aafc9cfd0c2a43b22ea5d
tree7e4f2c0d68cc34cc1f8df52917cfc2b5c91beb24
parent8f55b154944e53c20c1af695aeaa3fabc898f417
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