diff options
Diffstat (limited to 'sound/pci/hda/patch_via.c')
-rw-r--r-- | sound/pci/hda/patch_via.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index ba32d1e52cb8..6c734f07e5b5 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c | |||
@@ -543,27 +543,6 @@ static int via_init(struct hda_codec *codec) | |||
543 | return 0; | 543 | return 0; |
544 | } | 544 | } |
545 | 545 | ||
546 | #ifdef CONFIG_PM | ||
547 | /* | ||
548 | * resume | ||
549 | */ | ||
550 | static int via_resume(struct hda_codec *codec) | ||
551 | { | ||
552 | struct via_spec *spec = codec->spec; | ||
553 | int i; | ||
554 | |||
555 | via_init(codec); | ||
556 | for (i = 0; i < spec->num_mixers; i++) | ||
557 | snd_hda_resume_ctls(codec, spec->mixers[i]); | ||
558 | if (spec->multiout.dig_out_nid) | ||
559 | snd_hda_resume_spdif_out(codec); | ||
560 | if (spec->dig_in_nid) | ||
561 | snd_hda_resume_spdif_in(codec); | ||
562 | |||
563 | return 0; | ||
564 | } | ||
565 | #endif | ||
566 | |||
567 | /* | 546 | /* |
568 | */ | 547 | */ |
569 | static struct hda_codec_ops via_patch_ops = { | 548 | static struct hda_codec_ops via_patch_ops = { |
@@ -571,9 +550,6 @@ static struct hda_codec_ops via_patch_ops = { | |||
571 | .build_pcms = via_build_pcms, | 550 | .build_pcms = via_build_pcms, |
572 | .init = via_init, | 551 | .init = via_init, |
573 | .free = via_free, | 552 | .free = via_free, |
574 | #ifdef CONFIG_PM | ||
575 | .resume = via_resume, | ||
576 | #endif | ||
577 | }; | 553 | }; |
578 | 554 | ||
579 | /* fill in the dac_nids table from the parsed pin configuration */ | 555 | /* fill in the dac_nids table from the parsed pin configuration */ |