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
379752fd
Commit
379752fd
authored
Feb 19, 2009
by
Takashi Iwai
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/hda' into for-linus
parents
d2f8d7ee
d14a7e0b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_intel.c
+2
-6
No files found.
sound/pci/hda/hda_intel.c
View file @
379752fd
...
@@ -1947,16 +1947,13 @@ static int azx_suspend(struct pci_dev *pci, pm_message_t state)
...
@@ -1947,16 +1947,13 @@ static int azx_suspend(struct pci_dev *pci, pm_message_t state)
return
0
;
return
0
;
}
}
static
int
azx_resume_early
(
struct
pci_dev
*
pci
)
{
return
pci_restore_state
(
pci
);
}
static
int
azx_resume
(
struct
pci_dev
*
pci
)
static
int
azx_resume
(
struct
pci_dev
*
pci
)
{
{
struct
snd_card
*
card
=
pci_get_drvdata
(
pci
);
struct
snd_card
*
card
=
pci_get_drvdata
(
pci
);
struct
azx
*
chip
=
card
->
private_data
;
struct
azx
*
chip
=
card
->
private_data
;
pci_set_power_state
(
pci
,
PCI_D0
);
pci_restore_state
(
pci
);
if
(
pci_enable_device
(
pci
)
<
0
)
{
if
(
pci_enable_device
(
pci
)
<
0
)
{
printk
(
KERN_ERR
"hda-intel: pci_enable_device failed, "
printk
(
KERN_ERR
"hda-intel: pci_enable_device failed, "
"disabling device
\n
"
);
"disabling device
\n
"
);
...
@@ -2468,7 +2465,6 @@ static struct pci_driver driver = {
...
@@ -2468,7 +2465,6 @@ static struct pci_driver driver = {
.
remove
=
__devexit_p
(
azx_remove
),
.
remove
=
__devexit_p
(
azx_remove
),
#ifdef CONFIG_PM
#ifdef CONFIG_PM
.
suspend
=
azx_suspend
,
.
suspend
=
azx_suspend
,
.
resume_early
=
azx_resume_early
,
.
resume
=
azx_resume
,
.
resume
=
azx_resume
,
#endif
#endif
};
};
...
...
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