OSDN Git Service

mmc: cmdq_hci: disable CDR in CQ mode
authorSahitya Tummala <stummala@codeaurora.org>
Tue, 26 Apr 2016 03:42:44 +0000 (09:12 +0530)
committerKyle Yan <kyan@codeaurora.org>
Tue, 14 Jun 2016 02:06:27 +0000 (19:06 -0700)
commit31c3678a627a612ab863fde1108fd8bc3d16faa8
treec1bd0daa9a30ee0ba97c14e4423d4cd2dbf293d7
parent876f79209224820132dbea19e7b9e0bf9f0ac948
mmc: cmdq_hci: disable CDR in CQ mode

The CDR is supposed to be enabled only for read commands but
since there is no way it can be done in CQ, disable it completely
in CQ mode.

The CDR gets enabled by default whenever tuning is done in legacy
mode. Hence, make sure to disable it when CQ is enabled or when
CQ is unhalted.

Also note that CDR plays a role only in these bus speed modes -
HS200 and HS400 with enhanced strobe disabled.

Change-Id: Ie3917ac9b573dfef514f82e5073d1c480cd9a71d
Signed-off-by: Sahitya Tummala <stummala@codeaurora.org>
drivers/mmc/host/cmdq_hci.c