mmc: msm_sdcc: Fix a typo in MSM SDCC driver gpio setup
authorAlexander Tarasikov <alexander.tarasikov@gmail.com>
Sun, 21 Aug 2011 11:52:43 +0000 (15:52 +0400)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:36 +0000 (15:43 -0400)
commit435f3e385962e2b34855e9b34f8b95717c1016a2
tree2107757d2bc047fce1880a042dfd7e436d4bab46
parentcb2ccc32208cb91edf7363c0809ca9e42c4e04ed
mmc: msm_sdcc: Fix a typo in MSM SDCC driver gpio setup

The use of && instead of || caused a NULL pointer dereference if
gpio setup was not passed via platform data

Signed-off-by: Alexander Tarasikov <alexander.tarasikov@gmail.com>
Acked-by: Sahitya Tummala <stummala@codeaurora.org>
Signed-off-by: David Brown <davidb@codeaurora.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/msm_sdcc.c