aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_analog.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r--sound/pci/hda/patch_analog.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 9cbd80cba122..afbe314a5bf3 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -527,14 +527,6 @@ static int ad198x_suspend(struct hda_codec *codec, pm_message_t state)
527 ad198x_power_eapd(codec); 527 ad198x_power_eapd(codec);
528 return 0; 528 return 0;
529} 529}
530
531static int ad198x_resume(struct hda_codec *codec)
532{
533 ad198x_init(codec);
534 snd_hda_codec_resume_amp(codec);
535 snd_hda_codec_resume_cache(codec);
536 return 0;
537}
538#endif 530#endif
539 531
540static struct hda_codec_ops ad198x_patch_ops = { 532static struct hda_codec_ops ad198x_patch_ops = {
@@ -547,7 +539,6 @@ static struct hda_codec_ops ad198x_patch_ops = {
547#endif 539#endif
548#ifdef SND_HDA_NEEDS_RESUME 540#ifdef SND_HDA_NEEDS_RESUME
549 .suspend = ad198x_suspend, 541 .suspend = ad198x_suspend,
550 .resume = ad198x_resume,
551#endif 542#endif
552 .reboot_notify = ad198x_shutup, 543 .reboot_notify = ad198x_shutup,
553}; 544};