Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xcap
xcap-capability-linux
Commits
980167b7
Commit
980167b7
authored
Jul 29, 2008
by
Pierre Ossman
Browse files
sdhci: check correct return value
Fix a copy-and-paste error. Signed-off-by:
Pierre Ossman
<
drzeus@drzeus.cx
>
parent
ebd6d357
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/mmc/host/sdhci.c
View file @
980167b7
...
...
@@ -448,7 +448,7 @@ static int sdhci_adma_table_pre(struct sdhci_host *host,
host
->
adma_addr
=
dma_map_single
(
mmc_dev
(
host
->
mmc
),
host
->
adma_desc
,
(
128
*
2
+
1
)
*
4
,
DMA_TO_DEVICE
);
if
(
dma_mapping_error
(
mmc_dev
(
host
->
mmc
),
host
->
a
lign
_addr
))
if
(
dma_mapping_error
(
mmc_dev
(
host
->
mmc
),
host
->
a
dma
_addr
))
goto
unmap_entries
;
BUG_ON
(
host
->
adma_addr
&
0x3
);
...
...
Write
Preview
Supports
Markdown
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