All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sedji Gaouaou <sedji.gaouaou@atmel.com>
To: alsa-devel@alsa-project.org
Subject: pb with AC'97 codec on atmel at91 boards
Date: Mon, 25 May 2009 17:15:44 +0200	[thread overview]
Message-ID: <4A1AB620.5090108@atmel.com> (raw)

Hi all,

I am currently working on an AC'97 driver for ATMEL boards(AT91), and I 
encounter some problems.
On the board we have an AD1981b, and looking at the file ac97_patch.c I 
was wondering in the function patch_ad1881 why is there 3 codecs?
I've got the AD1981b datasheet, but the registers description is not 
really clear to me(vendor id register).

My problem is: when I try to read this registers(vendor id) during the 
probe(in snd_ac97_mixer), it will fail, and from time to time I will 
even not be able to recognize the codec...

So my question is: is that normal that in the function patch_ad1881 the 
code fails to read these lines:
	codecs[1] = patch_ad1881_unchained(ac97, 1, (1<<14));
	codecs[2] = patch_ad1881_unchained(ac97, 2, (1<<13));


Regards,
Sedji

                 reply	other threads:[~2009-05-25 15:28 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=4A1AB620.5090108@atmel.com \
    --to=sedji.gaouaou@atmel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.