[alsa-devel] [PATCH v5 1/1] ALSA: hda - add runtime PM support

Lin, Mengdong mengdong.lin at intel.com
Thu Aug 23 16:34:33 CEST 2012


> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai at suse.de]

> > Thanks, the patch looks almost good, but it gives a build error when
> > CONFIG_PM_RUNTIME=n.
> >
> > sound/pci/hda/hda_intel.c: In function ‘azx_interrupt’:
> > sound/pci/hda/hda_intel.c:1292:26: error: ‘struct dev_pm_info’ has no
> member named ‘runtime_status’
> > sound/pci/hda/hda_intel.c: At top level:
> > sound/pci/hda/hda_intel.c:2522:12: warning: ‘azx_runtime_suspend’
> > defined but not used [-Wunused-function]
> > sound/pci/hda/hda_intel.c:2535:12: warning: ‘azx_runtime_resume’
> > defined but not used [-Wunused-function]
> 
> Never mind, I fixed this by myself and applied the patch.

Thank you so much! I will be more careful next time.

Mengdong


More information about the Alsa-devel mailing list