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
0f5da28f
Commit
0f5da28f
authored
Sep 30, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/fix/ti-abb' into regulator-linus
parents
780a0ff7
bf00ca35
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
drivers/regulator/ti-abb-regulator.c
drivers/regulator/ti-abb-regulator.c
+14
-2
No files found.
drivers/regulator/ti-abb-regulator.c
View file @
0f5da28f
...
...
@@ -279,8 +279,12 @@ static int ti_abb_set_opp(struct regulator_dev *rdev, struct ti_abb *abb,
ti_abb_rmw
(
regs
->
opp_sel_mask
,
info
->
opp_sel
,
regs
->
control_reg
,
abb
->
base
);
/* program LDO VBB vset override if needed */
if
(
abb
->
ldo_base
)
/*
* program LDO VBB vset override if needed for !bypass mode
* XXX: Do not switch sequence - for !bypass, LDO override reset *must*
* be performed *before* switch to bias mode else VBB glitches.
*/
if
(
abb
->
ldo_base
&&
info
->
opp_sel
!=
TI_ABB_NOMINAL_OPP
)
ti_abb_program_ldovbb
(
dev
,
abb
,
info
);
/* Initiate ABB ldo change */
...
...
@@ -295,6 +299,14 @@ static int ti_abb_set_opp(struct regulator_dev *rdev, struct ti_abb *abb,
if
(
ret
)
goto
out
;
/*
* Reset LDO VBB vset override bypass mode
* XXX: Do not switch sequence - for bypass, LDO override reset *must*
* be performed *after* switch to bypass else VBB glitches.
*/
if
(
abb
->
ldo_base
&&
info
->
opp_sel
==
TI_ABB_NOMINAL_OPP
)
ti_abb_program_ldovbb
(
dev
,
abb
,
info
);
out:
return
ret
;
}
...
...
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