mmc: msm_sdcc: Call the right tlmm api for pull configuration
Currently the tlmm drive strength api is used for setting up both
drive strength and pull and this was not a problem so far since
there were external pull-up registers that masked this issue. This
change will call the right tlmm api to setup pull configuration.
Signed-off-by: Krishna Konda <kkonda@codeaurora.org>
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index fc38c88..de3ca98 100644
--- a/drivers/mmc/host/msm_sdcc.c
+++ b/drivers/mmc/host/msm_sdcc.c
@@ -2010,10 +2010,10 @@
for (i = 0; i < curr->pull->size; i++) {
if (enable)
- msm_tlmm_set_hdrive(curr->pull->on[i].no,
+ msm_tlmm_set_pull(curr->pull->on[i].no,
curr->pull->on[i].val);
else
- msm_tlmm_set_hdrive(curr->pull->off[i].no,
+ msm_tlmm_set_pull(curr->pull->off[i].no,
curr->pull->off[i].val);
}