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
Kirill Smelkov
linux
Commits
8c75deae
Commit
8c75deae
authored
May 19, 2007
by
Pierre Ossman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mmc: fix silly copy-and-paste error
Signed-off-by:
Pierre Ossman
<
drzeus@drzeus.cx
>
parent
ffce2e7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/mmc/core/mmc.c
drivers/mmc/core/mmc.c
+3
-3
No files found.
drivers/mmc/core/mmc.c
View file @
8c75deae
...
@@ -237,7 +237,7 @@ static int mmc_read_ext_csd(struct mmc_card *card)
...
@@ -237,7 +237,7 @@ static int mmc_read_ext_csd(struct mmc_card *card)
* In the case of a resume, "curcard" will contain the card
* In the case of a resume, "curcard" will contain the card
* we're trying to reinitialise.
* we're trying to reinitialise.
*/
*/
static
int
mmc_
sd_
init_card
(
struct
mmc_host
*
host
,
u32
ocr
,
static
int
mmc_init_card
(
struct
mmc_host
*
host
,
u32
ocr
,
struct
mmc_card
*
oldcard
)
struct
mmc_card
*
oldcard
)
{
{
struct
mmc_card
*
card
;
struct
mmc_card
*
card
;
...
@@ -500,7 +500,7 @@ static void mmc_resume(struct mmc_host *host)
...
@@ -500,7 +500,7 @@ static void mmc_resume(struct mmc_host *host)
mmc_claim_host
(
host
);
mmc_claim_host
(
host
);
err
=
mmc_
sd_
init_card
(
host
,
host
->
ocr
,
host
->
card
);
err
=
mmc_init_card
(
host
,
host
->
ocr
,
host
->
card
);
if
(
err
!=
MMC_ERR_NONE
)
{
if
(
err
!=
MMC_ERR_NONE
)
{
mmc_remove
(
host
);
mmc_remove
(
host
);
mmc_detach_bus
(
host
);
mmc_detach_bus
(
host
);
...
@@ -559,7 +559,7 @@ int mmc_attach_mmc(struct mmc_host *host, u32 ocr)
...
@@ -559,7 +559,7 @@ int mmc_attach_mmc(struct mmc_host *host, u32 ocr)
/*
/*
* Detect and init the card.
* Detect and init the card.
*/
*/
err
=
mmc_
sd_
init_card
(
host
,
host
->
ocr
,
NULL
);
err
=
mmc_init_card
(
host
,
host
->
ocr
,
NULL
);
if
(
err
!=
MMC_ERR_NONE
)
if
(
err
!=
MMC_ERR_NONE
)
goto
err
;
goto
err
;
...
...
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