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
4ec0853a
Commit
4ec0853a
authored
Apr 10, 2015
by
Mark Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'regulator/topic/wm8350' into regulator-next
parents
bea36728
1b42085a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
drivers/regulator/wm8350-regulator.c
drivers/regulator/wm8350-regulator.c
+2
-3
No files found.
drivers/regulator/wm8350-regulator.c
View file @
4ec0853a
...
@@ -1151,17 +1151,16 @@ static const struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = {
...
@@ -1151,17 +1151,16 @@ static const struct regulator_desc wm8350_reg[NUM_WM8350_REGULATORS] = {
static
irqreturn_t
pmic_uv_handler
(
int
irq
,
void
*
data
)
static
irqreturn_t
pmic_uv_handler
(
int
irq
,
void
*
data
)
{
{
struct
regulator_dev
*
rdev
=
(
struct
regulator_dev
*
)
data
;
struct
regulator_dev
*
rdev
=
(
struct
regulator_dev
*
)
data
;
struct
wm8350
*
wm8350
=
rdev_get_drvdata
(
rdev
);
mutex_lock
(
&
rdev
->
mutex
);
mutex_lock
(
&
rdev
->
mutex
);
if
(
irq
==
WM8350_IRQ_CS1
||
irq
==
WM8350_IRQ_CS2
)
if
(
irq
==
WM8350_IRQ_CS1
||
irq
==
WM8350_IRQ_CS2
)
regulator_notifier_call_chain
(
rdev
,
regulator_notifier_call_chain
(
rdev
,
REGULATOR_EVENT_REGULATION_OUT
,
REGULATOR_EVENT_REGULATION_OUT
,
wm8350
);
NULL
);
else
else
regulator_notifier_call_chain
(
rdev
,
regulator_notifier_call_chain
(
rdev
,
REGULATOR_EVENT_UNDER_VOLTAGE
,
REGULATOR_EVENT_UNDER_VOLTAGE
,
wm8350
);
NULL
);
mutex_unlock
(
&
rdev
->
mutex
);
mutex_unlock
(
&
rdev
->
mutex
);
return
IRQ_HANDLED
;
return
IRQ_HANDLED
;
...
...
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