mmc: sdhci-pxa: Check pdata before using its members
commit329f22371460587c59b866dcbffce5b498b61f38
authorTanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Wed, 14 Sep 2011 05:59:02 +0000 (14 11:29 +0530)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 20:32:01 +0000 (26 16:32 -0400)
tree3ec4ab2f8a770d58d08404e7336ecd9f84ab8ffa
parent7f7e4129c23f0419257184dff6fec89d2d5a8964
mmc: sdhci-pxa: Check pdata before using its members

Signed-off-by: Tanmay Upadhyay <tanmay.upadhyay@einfochips.com>
Acked-by: Zhangfei Gao <zhangfei.gao@marvell.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pxav2.c