From: Lars-Peter Clausen <lars@metafoo.de>
To: Manuel Lauss <manuel.lauss@gmail.com>
Cc: alsa-devel <alsa-devel@alsa-project.org>,
Mark Brown <broonie@kernel.org>,
Liam Girdwood <lgirdwood@gmail.com>
Subject: Re: wm97xx touch does not work after ac97 delayed dev reg removal
Date: Mon, 19 Jan 2015 19:58:22 +0100 [thread overview]
Message-ID: <54BD53CE.4050306@metafoo.de> (raw)
In-Reply-To: <CAOLZvyFHAoQauzA3gyUZkwH+dxsW6vov9j9ukhzx4QJ4U+7eZQ@mail.gmail.com>
On 01/19/2015 07:42 PM, Manuel Lauss wrote:
> On Mon, Jan 19, 2015 at 7:28 PM, Lars-Peter Clausen <lars@metafoo.de> wrote:
>> On 01/19/2015 04:46 PM, Manuel Lauss wrote:
>>>
>>> Hi Lars,
>>>
>>> Since commit 6794f709b7124ff1e574c4f4c9494418ab56c4b4
>>> (ASoC: ac97: Drop delayed device registration) the wm9712 ts on
>>> my MIPS DB1300 board doesn't work any more:
>>>
>>> wm97xx-ts 0-0:wm9712-codec.1: Device with vendor 0000 is not a wm97xx
>>> db1200-ac97 db1300-ac97.0: wm9712-hifi <-> au1xpsc_ac97.1 mapping ok
>>> wm9712-codec wm9712-codec.1: ASoC: mux Differential Source has no paths
>>> wm9712-codec wm9712-codec.1: ASoC: mux Capture Phone Mux has no paths
>>> db1200-ac97 db1300-i2s.0: wm8731-hifi <-> au1xpsc_i2s.2 mapping ok
>>>
>>> whereas before this patch:
>>> [ 1.820000] db1200-ac97 db1300-ac97.0: wm9712-hifi <->
>>> au1xpsc_ac97.1 mapping ok
>>> [ 1.820000] wm9712-codec wm9712-codec.1: ASoC: mux Differential
>>> Source has no paths
>>> [ 1.830000] wm9712-codec wm9712-codec.1: ASoC: mux Capture Phone
>>> Mux has no paths
>>> [ 1.840000] wm97xx-ts 0-0:wm9712-codec.1: detected a wm9712 codec
>>> [ 1.850000] input: wm97xx touchscreen as
>>> /devices/platform/db1300-ac97.0/0-0:wm9712-codec.1/input/input0
>>> [ 1.860000] db1200-ac97 db1300-i2s.0: wm8731-hifi <-> au1xpsc_i2s.2
>>> mapping ok
>>>
>>>
>>> Do you have any ideas how to solve this?
>>
>>
>> For a proper fix probably rewrite the AC97 bus support. But can you try if
>> the attached patch works as a workaround?
>
> Yes it does.
Ok, thanks for testing. I'll try to put together a proper patch and then send
it out tomorrow or so. The wm9705 and wm9713 look like they need the same
patch. So maybe it is possible to add support for reseting the device in the
core itself rather than doing it for every device in the device driver.
- Lars
next prev parent reply other threads:[~2015-01-19 18:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-19 15:46 wm97xx touch does not work after ac97 delayed dev reg removal Manuel Lauss
2015-01-19 18:28 ` Lars-Peter Clausen
2015-01-19 18:42 ` Manuel Lauss
2015-01-19 18:58 ` Lars-Peter Clausen [this message]
2015-01-19 19:17 ` 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=54BD53CE.4050306@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=manuel.lauss@gmail.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 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.