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
11a2f1b7
Commit
11a2f1b7
authored
Jun 21, 2009
by
Pierre Ossman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sdhci: remove needless double parenthesis
Signed-off-by:
Pierre Ossman
<
pierre@ossman.eu
>
parent
557b0697
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.c
+3
-3
No files found.
drivers/mmc/host/sdhci.c
View file @
11a2f1b7
...
@@ -584,7 +584,7 @@ static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_data *data)
...
@@ -584,7 +584,7 @@ static u8 sdhci_calc_timeout(struct sdhci_host *host, struct mmc_data *data)
* longer to time out, but that's much better than having a too-short
* longer to time out, but that's much better than having a too-short
* timeout value.
* timeout value.
*/
*/
if
(
(
host
->
quirks
&
SDHCI_QUIRK_BROKEN_TIMEOUT_VAL
)
)
if
(
host
->
quirks
&
SDHCI_QUIRK_BROKEN_TIMEOUT_VAL
)
return
0xE
;
return
0xE
;
/* timeout in us */
/* timeout in us */
...
@@ -1051,7 +1051,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
...
@@ -1051,7 +1051,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
* At least the Marvell CaFe chip gets confused if we set the voltage
* At least the Marvell CaFe chip gets confused if we set the voltage
* and set turn on power at the same time, so set the voltage first.
* and set turn on power at the same time, so set the voltage first.
*/
*/
if
(
(
host
->
quirks
&
SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER
)
)
if
(
host
->
quirks
&
SDHCI_QUIRK_NO_SIMULT_VDD_AND_POWER
)
sdhci_writeb
(
host
,
pwr
,
SDHCI_POWER_CONTROL
);
sdhci_writeb
(
host
,
pwr
,
SDHCI_POWER_CONTROL
);
pwr
|=
SDHCI_POWER_ON
;
pwr
|=
SDHCI_POWER_ON
;
...
@@ -1062,7 +1062,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
...
@@ -1062,7 +1062,7 @@ static void sdhci_set_power(struct sdhci_host *host, unsigned short power)
* Some controllers need an extra 10ms delay of 10ms before they
* Some controllers need an extra 10ms delay of 10ms before they
* can apply clock after applying power
* can apply clock after applying power
*/
*/
if
(
(
host
->
quirks
&
SDHCI_QUIRK_DELAY_AFTER_POWER
)
)
if
(
host
->
quirks
&
SDHCI_QUIRK_DELAY_AFTER_POWER
)
mdelay
(
10
);
mdelay
(
10
);
}
}
...
...
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