From: Peter Ujfalusi <peter.ujfalusi@ti.com>
To: Rick Mann <rmann@latencyzero.com>,
Alsa-devel <alsa-devel@alsa-project.org>
Subject: Re: mcasp: stream has more channels (2) than are enabled in mcasp (0)
Date: Mon, 18 Apr 2016 18:36:05 +0300 [thread overview]
Message-ID: <5714FEE5.5070002@ti.com> (raw)
In-Reply-To: <14D46C39-5FDF-40DD-A16B-2DA7BDE930CB@latencyzero.com>
On 04/04/2016 11:59 AM, Rick Mann wrote:
> I've got a Beaglebone Green with a custom cape (CODEC and amp and some
> other stuff).
>
> Kernel 4.4.6-bone-rt-r6. When I load the overlay that should set up my
> CODEC in the device tree, I get the following in the log.
>
> [ 367.172337] davinci-mcasp 48038000.mcasp: stream has more channels (2)
> than are enabled in mcasp (0) [ 367.172374] davinci-mcasp 48038000.mcasp:
> ASoC: can't set 48038000.mcasp hw params: -22
>
> You can see a little more log context, along with the DTS, here:
>
> http://pastebin.com/UPB1xjPF
>
> Can anyone tell me what this means? Thanks!
The fragment mostly looks OK, but am335x have 4 serializers, not 16 and the
num-serializer is deprecated at least in upstream kernel.
Something goes wrong when the McASP is loaded for sure, some parameters did
not got updated via DT perhaps, or most likely the DT fragment is loaded after
the McASP is loaded.
Can you print out:
slots, max_active_serializers, active_serializers and channels in
mcasp_common_hw_param() function?
Also just in case, can you put a dev_err() print in davinci_mcasp_probe() to
see when the driver is loaded compared to the time when the fragment is loaded?
If McASP is built in, try to build it as module and load the audio modules
after the DT fragments are handled.
--
Péter
next prev parent reply other threads:[~2016-04-18 15:36 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-04 8:59 mcasp: stream has more channels (2) than are enabled in mcasp (0) Rick Mann
2016-04-18 15:36 ` Peter Ujfalusi [this message]
2016-04-19 0:25 ` Rick Mann
2016-04-19 0:48 ` Rick Mann
2016-04-19 7:00 ` Peter Ujfalusi
2016-04-19 7:18 ` Rick Mann
2016-04-19 7:36 ` Peter Ujfalusi
2016-04-19 8:05 ` Rick Mann
2016-04-19 8:37 ` Peter Ujfalusi
2016-04-19 9:04 ` Rick Mann
2016-04-19 9:22 ` Peter Ujfalusi
2016-04-19 9:32 ` Rick Mann
2016-04-19 11:17 ` Peter Ujfalusi
2016-06-03 13:22 ` ASoC: TLV320AIC3x changing suspend delay time Timur Karaldin
2016-06-03 14:38 ` Timur Karaldin
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=5714FEE5.5070002@ti.com \
--to=peter.ujfalusi@ti.com \
--cc=alsa-devel@alsa-project.org \
--cc=rmann@latencyzero.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).