[alsa-devel] [PATCH] ALSA: hda - apply CS420X erratum fix for CS4207 only

Austin, Brian Brian.Austin at cirrus.com
Wed Mar 2 23:03:28 CET 2011


That should not happen. This sequence was tested on all version of cs420x

Is there some output of the failure you can report?

On 3/2/11 3:48 PM, "Arun Raghavan" <arun.raghavan at collabora.co.uk> wrote:

>From: Arun Raghavan <arun at accosted.net>
>
>The commit a769cbcf60cee51f4431c0938acd39e7e5b76b8d
>    ALSA: hda - Add errata initverb sequence for CS42xx codecs
>applies a fix for a chip erratum that is specific to CS4207
>unconditionally. On CS4206, this causes digital output to never be
>activated.
>---
> sound/pci/hda/patch_cirrus.c |    5 +++--
> 1 files changed, 3 insertions(+), 2 deletions(-)
>
>diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c
>index a07b031..9804b09 100644
>--- a/sound/pci/hda/patch_cirrus.c
>+++ b/sound/pci/hda/patch_cirrus.c
>@@ -1065,8 +1065,9 @@ static int cs_init(struct hda_codec *codec)
> {
>     struct cs_spec *spec = codec->spec;
> 
>-    /* init_verb sequence for C0/C1/C2 errata*/
>-    snd_hda_sequence_write(codec, cs_errata_init_verbs);
>+    /* init_verb sequence for CS4207 C0/C1/C2 errata */
>+    if (codec->vendor_id == 0x10134207)
>+        snd_hda_sequence_write(codec, cs_errata_init_verbs);
> 
>     snd_hda_sequence_write(codec, cs_coef_init_verbs);
> 
>-- 
>1.7.4.1
>
>




More information about the Alsa-devel mailing list