From: Timur Tabi <timur@freescale.com>
To: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: Alsa-devel@alsa-project.org
Subject: Re: Need help with WM8960
Date: Thu, 13 Sep 2012 11:29:10 -0500 [thread overview]
Message-ID: <505209D6.2080206@freescale.com> (raw)
In-Reply-To: <5051FF73.2030504@freescale.com>
Timur Tabi wrote:
> + iprop = of_get_property(np, "wlf,discharge-resistance", &len);
> + if (iprop && len == sizeof(uint32_t))
> + pdata->dres = be32_to_cpup(iprop);
I just noticed that pdata->dres isn't actually used in the driver. In
fact, I'm also confused by the DISOP bit. The datasheet says that the
default value of DISOP is 0. However, the only time we touch register R29
is here:
case SND_SOC_BIAS_STANDBY:
switch (codec->dapm.bias_level) {
case SND_SOC_BIAS_PREPARE:
/* Disable HP discharge */
snd_soc_update_bits(codec, WM8960_APOP2,
WM8960_DISOP | WM8960_DRES_MASK,
0);
All we do here is set DISOP and DRES_MASK to 0, which they should already be.
Am I missing something?
--
Timur Tabi
Linux kernel developer at Freescale
next prev parent reply other threads:[~2012-09-13 16:29 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 23:09 Need help with WM8960 Timur Tabi
2012-09-13 3:13 ` Mark Brown
2012-09-13 3:26 ` Tabi Timur-B04825
2012-09-13 3:31 ` Mark Brown
2012-09-13 14:43 ` Timur Tabi
2012-09-13 15:44 ` Timur Tabi
2012-09-13 16:29 ` Timur Tabi [this message]
2012-09-19 2:59 ` Mark Brown
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=505209D6.2080206@freescale.com \
--to=timur@freescale.com \
--cc=Alsa-devel@alsa-project.org \
--cc=broonie@opensource.wolfsonmicro.com \
/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).