alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
From: Mohammad Bahathir Hashim <bahathir@gmail.com>
To: alsa-devel@alsa-project.org
Subject: [FIX]: No SPDIF out from MacBookPro 6, 2, since 2.6.36
Date: Thu, 3 Mar 2011 04:20:37 +0000 (UTC)	[thread overview]
Message-ID: <ikn4uk$e4d$1@dough.gmane.org> (raw)

Hi,

Problem : No SPDIF since 2.6.36
HW : MacBookPro 15" HiRes (mid-2010)
Audio : 00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series
Chipset High Definition Audio (rev 06)
HDA codec : Cirrus CS4206

This simple patch will bypass the errata workaround for CS4207, and I
able to use the SPDIF (Toslink) out again.

Suggestion : Make a conditional expression to load the errata
verb/code if the driver detects CS4207.

Thank you.

--- orig/patch_cirrus.c	2011-03-03 11:56:31.726000009 +0800
+++ patch_cirrus.c	2011-03-03 12:05:38.556000063 +0800
@@ -1066,7 +1066,7 @@
 	struct cs_spec *spec = codec->spec;
 
 	/* init_verb sequence for C0/C1/C2 errata*/
-	snd_hda_sequence_write(codec, cs_errata_init_verbs);
+	/*snd_hda_sequence_write(codec, cs_errata_init_verbs);*/
 
 	snd_hda_sequence_write(codec, cs_coef_init_verbs);

                 reply	other threads:[~2011-03-03  4:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='ikn4uk$e4d$1@dough.gmane.org' \
    --to=bahathir@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).