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
5fb910d3
Commit
5fb910d3
authored
Mar 05, 2013
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/fix/core' into tmp
parents
6dbe51c2
fbe31057
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
drivers/regulator/core.c
drivers/regulator/core.c
+7
-3
No files found.
drivers/regulator/core.c
View file @
5fb910d3
...
...
@@ -3057,9 +3057,13 @@ int regulator_bulk_enable(int num_consumers,
return
0
;
err:
pr_err
(
"Failed to enable %s: %d
\n
"
,
consumers
[
i
].
supply
,
ret
);
while
(
--
i
>=
0
)
regulator_disable
(
consumers
[
i
].
consumer
);
for
(
i
=
0
;
i
<
num_consumers
;
i
++
)
{
if
(
consumers
[
i
].
ret
<
0
)
pr_err
(
"Failed to enable %s: %d
\n
"
,
consumers
[
i
].
supply
,
consumers
[
i
].
ret
);
else
regulator_disable
(
consumers
[
i
].
consumer
);
}
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