Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
f09a7931
Commit
f09a7931
authored
Mar 16, 2018
by
Ulf Hansson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into next
parents
a677b67b
47b7de2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
drivers/mmc/host/dw_mmc.c
drivers/mmc/host/dw_mmc.c
+4
-2
No files found.
drivers/mmc/host/dw_mmc.c
View file @
f09a7931
...
...
@@ -540,6 +540,7 @@ static int dw_mci_idmac_init(struct dw_mci *host)
(
sizeof
(
struct
idmac_desc_64addr
)
*
(
i
+
1
)))
>>
32
;
/* Initialize reserved and buffer size fields to "0" */
p
->
des0
=
0
;
p
->
des1
=
0
;
p
->
des2
=
0
;
p
->
des3
=
0
;
...
...
@@ -562,6 +563,7 @@ static int dw_mci_idmac_init(struct dw_mci *host)
i
++
,
p
++
)
{
p
->
des3
=
cpu_to_le32
(
host
->
sg_dma
+
(
sizeof
(
struct
idmac_desc
)
*
(
i
+
1
)));
p
->
des0
=
0
;
p
->
des1
=
0
;
}
...
...
@@ -1777,8 +1779,8 @@ static bool dw_mci_reset(struct dw_mci *host)
}
if
(
host
->
use_dma
==
TRANS_MODE_IDMAC
)
/* It is also re
commended that we reset and reprogram
idmac */
dw_mci_idmac_
rese
t
(
host
);
/* It is also re
quired that we reinit
idmac */
dw_mci_idmac_
ini
t
(
host
);
ret
=
true
;
...
...
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