Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
95452a6c
Commit
95452a6c
authored
Aug 02, 2009
by
Len Brown
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'bugzilla-13825' into release
parents
a571a79a
7334546a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
drivers/platform/x86/eeepc-laptop.c
drivers/platform/x86/eeepc-laptop.c
+6
-3
No files found.
drivers/platform/x86/eeepc-laptop.c
View file @
95452a6c
...
...
@@ -143,6 +143,7 @@ struct eeepc_hotk {
struct
rfkill
*
bluetooth_rfkill
;
struct
rfkill
*
wwan3g_rfkill
;
struct
hotplug_slot
*
hotplug_slot
;
struct
work_struct
hotplug_work
;
};
/* The actual device the driver binds to */
...
...
@@ -660,7 +661,7 @@ static int eeepc_get_adapter_status(struct hotplug_slot *hotplug_slot,
return
0
;
}
static
void
eeepc_
rfkill_hotplug
(
void
)
static
void
eeepc_
hotplug_work
(
struct
work_struct
*
work
)
{
struct
pci_dev
*
dev
;
struct
pci_bus
*
bus
=
pci_find_bus
(
0
,
1
);
...
...
@@ -701,7 +702,7 @@ static void eeepc_rfkill_notify(acpi_handle handle, u32 event, void *data)
if
(
event
!=
ACPI_NOTIFY_BUS_CHECK
)
return
;
eeepc_rfkill_hotplug
(
);
schedule_work
(
&
ehotk
->
hotplug_work
);
}
static
void
eeepc_hotk_notify
(
struct
acpi_device
*
device
,
u32
event
)
...
...
@@ -892,7 +893,7 @@ static int eeepc_hotk_resume(struct acpi_device *device)
rfkill_set_sw_state
(
ehotk
->
wlan_rfkill
,
wlan
!=
1
);
eeepc_rfkill_hotplug
(
);
schedule_work
(
&
ehotk
->
hotplug_work
);
}
if
(
ehotk
->
bluetooth_rfkill
)
...
...
@@ -1093,6 +1094,8 @@ static int eeepc_rfkill_init(struct device *dev)
{
int
result
=
0
;
INIT_WORK
(
&
ehotk
->
hotplug_work
,
eeepc_hotplug_work
);
eeepc_register_rfkill_notifier
(
"
\\
_SB.PCI0.P0P6"
);
eeepc_register_rfkill_notifier
(
"
\\
_SB.PCI0.P0P7"
);
...
...
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