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
nexedi
linux
Commits
925f14dc
Commit
925f14dc
authored
Dec 10, 2012
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/wm831x' into regulator-next
parents
8ee00511
43f1f216
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
drivers/regulator/wm831x-dcdc.c
drivers/regulator/wm831x-dcdc.c
+2
-1
No files found.
drivers/regulator/wm831x-dcdc.c
View file @
925f14dc
...
...
@@ -223,7 +223,7 @@ static int wm831x_buckv_map_voltage(struct regulator_dev *rdev,
if
(
min_uV
<
600000
)
vsel
=
0
;
else
if
(
min_uV
<=
1800000
)
vsel
=
((
min_uV
-
600000
)
/
12500
)
+
8
;
vsel
=
DIV_ROUND_UP
(
min_uV
-
600000
,
12500
)
+
8
;
else
return
-
EINVAL
;
...
...
@@ -993,4 +993,5 @@ MODULE_DESCRIPTION("WM831x DC-DC convertor driver");
MODULE_LICENSE
(
"GPL"
);
MODULE_ALIAS
(
"platform:wm831x-buckv"
);
MODULE_ALIAS
(
"platform:wm831x-buckp"
);
MODULE_ALIAS
(
"platform:wm831x-boostp"
);
MODULE_ALIAS
(
"platform:wm831x-epe"
);
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