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
ff9b011a
Commit
ff9b011a
authored
Jun 28, 2019
by
Zhang Rui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branches 'thermal-core' and 'thermal-intel' into next
parents
6bbe6f57
aaba9791
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
.../thermal/intel/int340x_thermal/processor_thermal_device.c
+14
-0
No files found.
drivers/thermal/intel/int340x_thermal/processor_thermal_device.c
View file @
ff9b011a
...
...
@@ -443,6 +443,18 @@ static void proc_thermal_pci_remove(struct pci_dev *pdev)
pci_disable_device
(
pdev
);
}
static
int
proc_thermal_resume
(
struct
device
*
dev
)
{
struct
proc_thermal_device
*
proc_dev
;
proc_dev
=
dev_get_drvdata
(
dev
);
proc_thermal_read_ppcc
(
proc_dev
);
return
0
;
}
static
SIMPLE_DEV_PM_OPS
(
proc_thermal_pm
,
NULL
,
proc_thermal_resume
);
static
const
struct
pci_device_id
proc_thermal_pci_ids
[]
=
{
{
PCI_DEVICE
(
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_PROC_BDW_THERMAL
)},
{
PCI_DEVICE
(
PCI_VENDOR_ID_INTEL
,
PCI_DEVICE_ID_PROC_HSB_THERMAL
)},
...
...
@@ -465,6 +477,7 @@ static struct pci_driver proc_thermal_pci_driver = {
.
probe
=
proc_thermal_pci_probe
,
.
remove
=
proc_thermal_pci_remove
,
.
id_table
=
proc_thermal_pci_ids
,
.
driver
.
pm
=
&
proc_thermal_pm
,
};
static
const
struct
acpi_device_id
int3401_device_ids
[]
=
{
...
...
@@ -479,6 +492,7 @@ static struct platform_driver int3401_driver = {
.
driver
=
{
.
name
=
"int3401 thermal"
,
.
acpi_match_table
=
int3401_device_ids
,
.
pm
=
&
proc_thermal_pm
,
},
};
...
...
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