From: Takashi Iwai <tiwai@suse.de>
To: Jamie Heilman <jamie@audible.transient.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: bisected regression in v5.11-rc1 snd-usb-audio
Date: Sat, 23 Jan 2021 13:42:03 +0100 [thread overview]
Message-ID: <s5hwnw36d0k.wl-tiwai@suse.de> (raw)
In-Reply-To: <YAwDkhRVkrEna8pV@audible.transient.net>
On Sat, 23 Jan 2021 12:08:02 +0100,
Jamie Heilman wrote:
>
> > If the problem is still seen with the very latest Linus tree and the
> > previous patch, please enable the dyndbg, e.g. pass dydbg=+p option to
> > snd-usb-audio module, i.e. reload like
> > modprobe snd-usb-audio dydbg=+p
> > or boot with
> > snd_usb_audio.dyndbg=+p
> > boot option, retest, and give the kernel messages.
>
> OK, updated to 5.11.0-rc4-00202-gfe75a21824e7, repatched & rebuilt with:
> CONFIG_SND_DEBUG=y
> CONFIG_SND_CTL_VALIDATION=y
> CONFIG_DYNAMIC_DEBUG=y
> CONFIG_DYNAMIC_DEBUG_CORE=y
>
> and added dyndbg=+p to my snd-usb-audio options, dmesg after an
> attempted aplay execution is attached.
(snip)
> [ 108.941521] WARNING: CPU: 0 PID: 2776 at sound/core/pcm_lib.c:1148 snd_pcm_hw_rule_add+0xd3/0x160 [snd_pcm]
OK, this must be the culprit of the weird behavior.
I totally overlooked that the max dependencies are three because of
the terminator.
Could you try the patch below in addition?
thanks,
Takashi
--- a/include/sound/pcm.h
+++ b/include/sound/pcm.h
@@ -229,7 +229,7 @@ typedef int (*snd_pcm_hw_rule_func_t)(struct snd_pcm_hw_params *params,
struct snd_pcm_hw_rule {
unsigned int cond;
int var;
- int deps[4];
+ int deps[5];
snd_pcm_hw_rule_func_t func;
void *private;
next prev parent reply other threads:[~2021-01-23 12:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 8:09 Jamie Heilman
2021-01-22 8:44 ` Takashi Iwai
2021-01-22 10:03 ` Jamie Heilman
2021-01-22 11:58 ` Takashi Iwai
2021-01-23 11:08 ` Jamie Heilman
2021-01-23 12:42 ` Takashi Iwai [this message]
2021-01-23 22:40 ` Jamie Heilman
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=s5hwnw36d0k.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=jamie@audible.transient.net \
--cc=linux-kernel@vger.kernel.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
all inboxes | Powered by JetHome®