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
170b649e
Commit
170b649e
authored
May 13, 2016
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/core' into regulator-next
parents
75941a1b
de4a54c4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
MAINTAINERS
MAINTAINERS
+2
-0
drivers/regulator/core.c
drivers/regulator/core.c
+1
-3
include/linux/regulator/driver.h
include/linux/regulator/driver.h
+1
-1
No files found.
MAINTAINERS
View file @
170b649e
...
...
@@ -11997,7 +11997,9 @@ L: linux-kernel@vger.kernel.org
W: http://www.slimlogic.co.uk/?p=48
T: git git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git
S: Supported
F: Documentation/devicetree/bindings/regulator/
F: drivers/regulator/
F: include/dt-bindings/regulator/
F: include/linux/regulator/
VRF
...
...
drivers/regulator/core.c
View file @
170b649e
...
...
@@ -808,8 +808,6 @@ static int suspend_set_state(struct regulator_dev *rdev,
/* locks held by caller */
static
int
suspend_prepare
(
struct
regulator_dev
*
rdev
,
suspend_state_t
state
)
{
lockdep_assert_held_once
(
&
rdev
->
mutex
);
if
(
!
rdev
->
constraints
)
return
-
EINVAL
;
...
...
@@ -1539,7 +1537,7 @@ static int regulator_resolve_supply(struct regulator_dev *rdev)
}
/* Cascade always-on state to supply */
if
(
_regulator_is_enabled
(
rdev
)
&&
rdev
->
supply
)
{
if
(
_regulator_is_enabled
(
rdev
))
{
ret
=
regulator_enable
(
rdev
->
supply
);
if
(
ret
<
0
)
{
_regulator_put
(
rdev
->
supply
);
...
...
include/linux/regulator/driver.h
View file @
170b649e
...
...
@@ -292,7 +292,7 @@ struct regulator_desc {
const
struct
regulator_desc
*
,
struct
regulator_config
*
);
int
id
;
bool
continuous_voltage_range
;
unsigned
int
continuous_voltage_range
:
1
;
unsigned
n_voltages
;
const
struct
regulator_ops
*
ops
;
int
irq
;
...
...
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