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
8ca5e1fa
Commit
8ca5e1fa
authored
Apr 28, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/max8973' into v3.9-rc8
parents
a2c05e91
b27032ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
drivers/regulator/max8973-regulator.c
drivers/regulator/max8973-regulator.c
+5
-5
No files found.
drivers/regulator/max8973-regulator.c
View file @
8ca5e1fa
...
...
@@ -274,15 +274,15 @@ static int max8973_init_dcdc(struct max8973_chip *max,
if
(
pdata
->
reg_init_data
&&
pdata
->
reg_init_data
->
constraints
.
ramp_delay
)
{
if
(
pdata
->
reg_init_data
->
constraints
.
ramp_delay
<
25000
)
control1
=
MAX8973_RAMP_12mV_PER_US
;
control1
|
=
MAX8973_RAMP_12mV_PER_US
;
else
if
(
pdata
->
reg_init_data
->
constraints
.
ramp_delay
<
50000
)
control1
=
MAX8973_RAMP_25mV_PER_US
;
control1
|
=
MAX8973_RAMP_25mV_PER_US
;
else
if
(
pdata
->
reg_init_data
->
constraints
.
ramp_delay
<
200000
)
control1
=
MAX8973_RAMP_50mV_PER_US
;
control1
|
=
MAX8973_RAMP_50mV_PER_US
;
else
control1
=
MAX8973_RAMP_200mV_PER_US
;
control1
|
=
MAX8973_RAMP_200mV_PER_US
;
}
else
{
control1
=
MAX8973_RAMP_12mV_PER_US
;
control1
|
=
MAX8973_RAMP_12mV_PER_US
;
max
->
desc
.
ramp_delay
=
12500
;
}
...
...
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