linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
To: John Stultz <john.stultz@linaro.org>,
	Takashi Iwai <tiwai@suse.de>,
	Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Mark Brown <broonie@kernel.org>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Bard Liao <yung-chuan.liao@linux.intel.com>,
	Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>,
	Vinod Koul <vinod.koul@linaro.org>,
	Amit Pundir <amit.pundir@linaro.org>
Subject: Re: [GIT PULL] sound fixes for 5.8-rc1
Date: Fri, 12 Jun 2020 12:41:59 +0100	[thread overview]
Message-ID: <4d692acd-6fe8-7a5f-34d5-78a4d6dd03cf@linaro.org> (raw)
In-Reply-To: <CALAqxLWEfRJ_Jr0iDgmvqop5Etz5xve89Zy3OeUbnKUGtqjCqQ@mail.gmail.com>

Thanks John for reporting this,

On 12/06/2020 01:49, John Stultz wrote:
> On Thu, Jun 11, 2020 at 5:13 PM John Stultz <john.stultz@linaro.org> wrote:
>>
>> On Thu, Jun 11, 2020 at 6:39 AM Takashi Iwai <tiwai@suse.de> wrote:
>>> sound fixes for 5.8-rc1
>>>
>>> Here are last-minute fixes gathered before merge window close;
>>> a few fixes are for the core while the rest majority are driver
>>> fixes.
>>>
>>> * PCM locking annotation fixes and the possible self-lock fix
>>> * ASoC DPCM regression fixes with multi-CPU DAI
>>
>> Just as a heads up, we just recently got HDMI audio working on the
>> Dragonboard 845c (Vinod has patches he's sending out here in the next
>> few days), but they suddenly stopped working today with the following
>> error:
>> [   13.110725] msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <->
>> MultiMedia1 mapping ok
>> [   13.119343] msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <->
>> MultiMedia2 mapping ok
>> [   13.127969] msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <->
>> MultiMedia3 mapping ok
>> [   13.135891] msm-snd-sdm845 soc@0:sound: Compress ASoC:
>> snd-soc-dummy-dai <-> MultiMedia4 mapping ok
>> [   13.145042] msm-snd-sdm845 soc@0:sound: CPU DAI QUAT_MI2S_RX for
>> rtd HDMI Playback does not support capture
>> [   13.154873] msm-snd-sdm845 soc@0:sound: ASoC: can't create pcm HDMI
>> Playback :-22
>> [   13.165634] snd-malloc: invalid device type 0
>> [   13.170057] snd-malloc: invalid device type 0
>> [   13.174888] msm-snd-sdm845 soc@0:sound: Sound card registration failed
>> [   13.181574] msm-snd-sdm845: probe of soc@0:sound failed with error -22
>>
>>   I've bisected it down to the following commit from this pull req:
>>    https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b73287f0b0745961b14e5ebcce92cc8ed24d4d52
>>
>> Without this patch:
>> [   13.056906] msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <->
>> MultiMedia1 mapping ok
>> [   13.075465] msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <->
>> MultiMedia2 mapping ok
>> [   13.092949] msm-snd-sdm845 soc@0:sound: snd-soc-dummy-dai <->
>> MultiMedia3 mapping ok
>> [   13.109704] msm-snd-sdm845 soc@0:sound: Compress ASoC:
>> snd-soc-dummy-dai <-> MultiMedia4 mapping ok
>> [   13.125584] msm-snd-sdm845 soc@0:sound: i2s-hifi <-> QUAT_MI2S_RX mapping ok
>> [   13.125621] msm-snd-sdm845 soc@0:sound: multicodec <-> SLIMBUS_0_RX
>> mapping ok
>> [   13.141682] msm-snd-sdm845 soc@0:sound: wcd934x_tx1 <->
>> SLIMBUS_0_TX mapping ok
>> ...
>>
>> I've not managed to dig in with much analysis yet (possibly something
>> off with the current patches we have), but wanted to raise the issue
>> in case others start to see it too.
> 
> I don't know the backgroun again, but would something like the
> following make sense?
> https://git.linaro.org/people/john.stultz/android-dev.git/commit/?h=dev/db845c-mainline-WIP&id=7e49b248db77b5ed29b2aa278268e77650c75482
> 
> It avoids failing completely if playback or capture isn't found.

Can you please try these two patches, I think the problem is that FE 
dailinks are always set to bidirectional, this two patches should fix it.

https://git.linaro.org/people/srinivas.kandagatla/linux.git/commit/?h=gapless/v2&id=bb7ce65a0ca1640cd9ff301c885f56ce00519834

https://git.linaro.org/people/srinivas.kandagatla/linux.git/commit/?h=gapless/v2&id=9b568e491f0410b453aaf5a147b75252a6943ffd


Once you confirm I can send them to list as fixes.


Thanks,
srini

> 
> thanks
> -john
> 

  reply	other threads:[~2020-06-12 11:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-11 11:33 [GIT PULL] sound fixes for 5.8-rc1 Takashi Iwai
2020-06-11 19:50 ` pr-tracker-bot
2020-06-12  0:13 ` John Stultz
2020-06-12  0:49   ` John Stultz
2020-06-12 11:41     ` Srinivas Kandagatla [this message]
2020-06-12 12:35       ` Mark Brown
2020-06-12 23:59       ` John Stultz
2020-06-12 12:19     ` Mark Brown
2020-06-12 13:54       ` Pierre-Louis Bossart
2020-06-12 14:46         ` Mark Brown
2020-06-12 14:56           ` Pierre-Louis Bossart

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=4d692acd-6fe8-7a5f-34d5-78a4d6dd03cf@linaro.org \
    --to=srinivas.kandagatla@linaro.org \
    --cc=amit.pundir@linaro.org \
    --cc=broonie@kernel.org \
    --cc=guennadi.liakhovetski@linux.intel.com \
    --cc=john.stultz@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pierre-louis.bossart@linux.intel.com \
    --cc=tiwai@suse.de \
    --cc=vinod.koul@linaro.org \
    --cc=yung-chuan.liao@linux.intel.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).