Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit f76495a4 authored by Subhash Jadavani's avatar Subhash Jadavani Committed by Stephen Boyd
Browse files

mmc: msm_sdcc: add warning if data timeout is zero



SDCC controller's MCI_DATA_TIMER register is programmed
with data timeout value while doing data transfer from/to
card. If this register is programmed with 0 timeout for
data transfer, controller will immediately throw the data
timeout error at the start of data transfer itself.

Programming timeout value as 0 is an error condition and
this patch adds WARN() when this condition is encountered.

Change-Id: I7fdde98857afeecd8e851d37a93917933caf24de
Signed-off-by: default avatarSubhash Jadavani <subhashj@codeaurora.org>
parent 952c4e81
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment