[alsa-devel] [PATCH v2 2/2] ALSA: hda - restore BCLK M/N value as per CDCLK for HSW/BDW display HDA controller

Lin, Mengdong mengdong.lin at intel.com
Thu Jul 3 11:06:07 CEST 2014


> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai at suse.de]
> Sent: Thursday, July 03, 2014 2:31 PM

> > --- a/sound/pci/hda/hda_i915.h
> > +++ b/sound/pci/hda/hda_i915.h
> > @@ -18,6 +18,7 @@
> >
> >  #ifdef CONFIG_SND_HDA_I915
> >  int hda_display_power(bool enable);
> > +void haswell_set_bclk(struct azx *chip);
> >  int hda_i915_init(void);
> >  int hda_i915_exit(void);
> >  #else
> 
> Define a dummy function for !CONFIG_SND_HDA_I915, too.
> Otherwise the build will break.
> 
> I'll be off for today and pick up the revised patch later.

I added the missing dummy function in the v3 patch, and tested the build with !CONFIG_DRM_I915 and !CONFIG_SND_HDA_I915.
Please review.

Thanks again
Mengdong


More information about the Alsa-devel mailing list