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
c3b57259
Commit
c3b57259
authored
Dec 21, 2018
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/coupled' into regulator-next
parents
b27d9668
8ff00ba7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
10 deletions
+2
-10
drivers/regulator/core.c
drivers/regulator/core.c
+2
-10
No files found.
drivers/regulator/core.c
View file @
c3b57259
...
...
@@ -211,6 +211,7 @@ void regulator_lock(struct regulator_dev *rdev)
{
regulator_lock_nested
(
rdev
,
NULL
);
}
EXPORT_SYMBOL_GPL
(
regulator_lock
);
/**
* regulator_unlock - unlock a single regulator
...
...
@@ -232,6 +233,7 @@ void regulator_unlock(struct regulator_dev *rdev)
mutex_unlock
(
&
regulator_nesting_mutex
);
}
EXPORT_SYMBOL_GPL
(
regulator_unlock
);
static
bool
regulator_supply_is_couple
(
struct
regulator_dev
*
rdev
)
{
...
...
@@ -2802,16 +2804,6 @@ static void regulator_disable_work(struct work_struct *work)
regulator_balance_voltage
(
rdev
,
PM_SUSPEND_ON
);
regulator_unlock_dependent
(
rdev
,
&
ww_ctx
);
if
(
rdev
->
supply
)
{
for
(
i
=
0
;
i
<
count
;
i
++
)
{
ret
=
regulator_disable
(
rdev
->
supply
);
if
(
ret
!=
0
)
{
rdev_err
(
rdev
,
"Supply disable failed: %d
\n
"
,
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