[alsa-devel] [PATCH] ALSA : hda - bug fix on checking the supported power states of a codec
Takashi Iwai
tiwai at suse.de
Fri Aug 10 18:21:15 CEST 2012
At Fri, 10 Aug 2012 12:35:52 +0200,
Takashi Iwai wrote:
>
> At Fri, 10 Aug 2012 10:18:57 +0000,
> Lin, Mengdong wrote:
> >
> > The return value of snd_hda_param_read() is -1 for an error, otherwise it's the supported power states of a codec.
> >
> > The supported power states is a 32-bit value. Bit 31 will be set to 1 if the codec supports EPSS, thus making "sup" negative. And the bit 28:5 is reserved as "0".
> > So a negative value other than -1 shall be further checked.
> >
> > Please refer to High-Definition spec 7.3.4.12 "Supported Power States", thanks!
> >
> >
> > Signed-off-by: Mengdong Lin <mengdong.lin at intel.com>
>
> Hm, it's still sent in quoted-printable format, so can't be fed to
> git am...
I applied the patch now manually.
At the next time, please send the patch in a right format.
thanks,
Takashi
More information about the Alsa-devel
mailing list