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
Kirill Smelkov
linux
Commits
d4e2385c
Commit
d4e2385c
authored
Jul 24, 2017
by
Sebastian Reichel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fixes' into for-next
Signed-off-by:
Sebastian Reichel
<
sebastian.reichel@collabora.co.uk
>
parents
10e48b7d
648b8eba
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
drivers/power/supply/Kconfig
drivers/power/supply/Kconfig
+1
-0
drivers/power/supply/act8945a_charger.c
drivers/power/supply/act8945a_charger.c
+2
-2
drivers/power/supply/sbs-battery.c
drivers/power/supply/sbs-battery.c
+2
-2
No files found.
drivers/power/supply/Kconfig
View file @
d4e2385c
...
@@ -378,6 +378,7 @@ config BATTERY_RX51
...
@@ -378,6 +378,7 @@ config BATTERY_RX51
config CHARGER_CPCAP
config CHARGER_CPCAP
tristate "CPCAP PMIC Charger Driver"
tristate "CPCAP PMIC Charger Driver"
depends on MFD_CPCAP && IIO
depends on MFD_CPCAP && IIO
depends on OMAP_USB2 || (!OMAP_USB2 && COMPILE_TEST)
default MFD_CPCAP
default MFD_CPCAP
help
help
Say Y to enable support for CPCAP PMIC charger driver for Motorola
Say Y to enable support for CPCAP PMIC charger driver for Motorola
...
...
drivers/power/supply/act8945a_charger.c
View file @
d4e2385c
...
@@ -596,9 +596,9 @@ static int act8945a_charger_probe(struct platform_device *pdev)
...
@@ -596,9 +596,9 @@ static int act8945a_charger_probe(struct platform_device *pdev)
return
ret
;
return
ret
;
irq
=
of_irq_get
(
pdev
->
dev
.
of_node
,
0
);
irq
=
of_irq_get
(
pdev
->
dev
.
of_node
,
0
);
if
(
irq
==
-
EPROBE_DEFER
)
{
if
(
irq
<=
0
)
{
dev_err
(
&
pdev
->
dev
,
"failed to find IRQ number
\n
"
);
dev_err
(
&
pdev
->
dev
,
"failed to find IRQ number
\n
"
);
return
-
EPROBE_DEFER
;
return
irq
?:
-
ENXIO
;
}
}
ret
=
devm_request_irq
(
&
pdev
->
dev
,
irq
,
act8945a_status_changed
,
ret
=
devm_request_irq
(
&
pdev
->
dev
,
irq
,
act8945a_status_changed
,
...
...
drivers/power/supply/sbs-battery.c
View file @
d4e2385c
...
@@ -60,8 +60,8 @@ enum {
...
@@ -60,8 +60,8 @@ enum {
#define BATTERY_MODE_OFFSET 0x03
#define BATTERY_MODE_OFFSET 0x03
#define BATTERY_MODE_MASK 0x8000
#define BATTERY_MODE_MASK 0x8000
enum
sbs_battery_mode
{
enum
sbs_battery_mode
{
BATTERY_MODE_AMPS
,
BATTERY_MODE_AMPS
=
0
,
BATTERY_MODE_WATTS
BATTERY_MODE_WATTS
=
0x8000
};
};
/* manufacturer access defines */
/* manufacturer access defines */
...
...
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