From: Grazvydas Ignotas Date: Fri, 14 Nov 2008 19:45:16 +0000 (+0200) Subject: HSMMC: Fix boot crash on boards without gpio_cd set X-Git-Tag: v2.6.28-davinci1-diff-base~139 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11b6d3ed9c1c04f04bfcca7ae9e29cc8d38704d3;p=pandora-kernel.git HSMMC: Fix boot crash on boards without gpio_cd set If .gpio_cd is -EINVAL, twl_mmc_late_init() is not called and hsmmc[x].mmc is not set, so don't use it in twl_mmc*_set_power(). Signed-off-by: Grazvydas Ignotas Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed