Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
a3f92142
Unverified
Commit
a3f92142
authored
Oct 12, 2018
by
Soby Mathew
Committed by
GitHub
Oct 12, 2018
Browse files
Merge pull request #1622 from bryanodonoghue/master+imx7-mmc_fix
drivers: imx: mxc_usdhc: Do not set MMC_RSP_48 for MMC_RESPONSE_R2
parents
3e75ea4d
a21da478
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/imx/usdhc/imx_usdhc.c
View file @
a3f92142
...
@@ -160,7 +160,7 @@ static int imx_usdhc_send_cmd(struct mmc_cmd *cmd)
...
@@ -160,7 +160,7 @@ static int imx_usdhc_send_cmd(struct mmc_cmd *cmd)
mixctl
|=
MIXCTRL_DMAEN
;
mixctl
|=
MIXCTRL_DMAEN
;
}
}
if
(
cmd
->
resp_type
&
MMC_RSP_48
)
if
(
cmd
->
resp_type
&
MMC_RSP_48
&&
cmd
->
resp_type
!=
MMC_RESPONSE_R2
)
xfertype
|=
XFERTYPE_RSPTYP_48
;
xfertype
|=
XFERTYPE_RSPTYP_48
;
else
if
(
cmd
->
resp_type
&
MMC_RSP_136
)
else
if
(
cmd
->
resp_type
&
MMC_RSP_136
)
xfertype
|=
XFERTYPE_RSPTYP_136
;
xfertype
|=
XFERTYPE_RSPTYP_136
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment