Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6a033b86
Commit
6a033b86
authored
May 04, 2006
by
Tony Lindgren
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Undo MMC patch
e2607096
Using MMC_POWER_ON is a better solution as noted by RMK
parent
aeccf2ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
9 deletions
+2
-9
drivers/mmc/omap.c
drivers/mmc/omap.c
+2
-9
No files found.
drivers/mmc/omap.c
View file @
6a033b86
...
@@ -899,16 +899,9 @@ static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
...
@@ -899,16 +899,9 @@ static void mmc_omap_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
int
dsor
;
int
dsor
;
int
realclock
,
i
;
int
realclock
,
i
;
/* According to the MMC spec we must not enable clock prior to
realclock
=
ios
->
clock
;
* power stabilizing. But at least omap16xx needs clock dsor
* configured during MMC_POWER_UP.
*/
if
((
ios
->
power_mode
==
MMC_POWER_UP
)
&&
(
ios
->
clock
==
0
))
realclock
=
mmc
->
f_min
;
else
realclock
=
ios
->
clock
;
if
(
real
clock
==
0
)
if
(
ios
->
clock
==
0
)
dsor
=
0
;
dsor
=
0
;
else
{
else
{
int
func_clk_rate
=
clk_get_rate
(
host
->
fclk
);
int
func_clk_rate
=
clk_get_rate
(
host
->
fclk
);
...
...
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