Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp26099057rwd; Mon, 3 Jul 2023 05:32:31 -0700 (PDT) X-Google-Smtp-Source: APBJJlHSYlblXaZbnTSIIDKZz41DlnD1O7lu6VzdbW4OZZ5GHKHKilKOKrweRHu1kxj1SFacS6F6 X-Received: by 2002:a17:90a:35b:b0:263:7d4a:4d43 with SMTP id 27-20020a17090a035b00b002637d4a4d43mr7982198pjf.1.1688387551385; Mon, 03 Jul 2023 05:32:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688387551; cv=none; d=google.com; s=arc-20160816; b=xCEcQPfESRYoCvZrLo0+sXoct/oeTbj9xdMm7ke6Sk7b3JoiGWLNFKe02MqHZhxVK5 Lro5kTeTas9QPl+440Yw4iSLVMCCxHersxdJ6gpbgysqLSZthHark4QlfXIydb9hhbCN r9FS8HMhjdifEHv78qdPckkd9+xamDi56BlYzd8I2h5a6EEKmMe6RKze0rpRtoolE6BS OJV8UtFyY6Vm+KTU01YD8gtl6+iTHxN/9I3+lfcOacxE38aalexV5x2u0iU3Wbucivpk OuJGkWsCO7ilxwh6QluiUW/qDbZnznnhE7N/Dm20LTfa1EixGpSrr3eFdisEjqv7AEU1 CXpg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=/9XPWkFSw0lBBO1mtqZZb6qjaAKKBNzDWYUNFj6zECw=; fh=6lUN/4EcU6piQdNmWierY9tFnnfGlIhXqx+WRONd0b4=; b=vkBj/GWwZQUd4CKB7aVfy/aBYrFJddWkwfX1HxRS6+ZmwSp32ZPkl6tqX/+6FI3zdJ NhJxRyzxBMwUbcxrVznDEWbyYIXJDafobfrKcxFYn9u3G9ebs7cO2Jr87VduAfP8h+sA LUEkVbCVajHVCOG4LOke0LcVRusog3BvHNd2qtjPj0WyJHmIeTq8gD8EZt/NCS+jl+ym qaxGEGnPmeLM05ECSwE/VRna3WmMRW8PzzD/9AbqUwp5EWb8HAteulHPoWa3Jl0X0yqu mH0GTiWIeTZN3IOFnIwQ5lcpVwqtAzJkjWhHGQ8Yhvg8u/AahhhVGHLQ4LHCiRv3AbMO 1NSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s2vK617R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id np17-20020a17090b4c5100b0025bea0a396asi22717955pjb.6.2023.07.03.05.32.13; Mon, 03 Jul 2023 05:32:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=s2vK617R; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231292AbjGCMVK (ORCPT + 99 others); Mon, 3 Jul 2023 08:21:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44280 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbjGCMVI (ORCPT ); Mon, 3 Jul 2023 08:21:08 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF56A1AD; Mon, 3 Jul 2023 05:21:07 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6D47160F05; Mon, 3 Jul 2023 12:21:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C723BC433C7; Mon, 3 Jul 2023 12:21:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688386866; bh=iVpVYys+6HpIG93JCxQUvBWe/5NbR/bCynk6NtjIifE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=s2vK617R6XxCCO41svbYSKf3ouMwj1fyD898WRlATYojK40HeGQHlMW2yPeRt5q37 ltn+iRBycdtcpufxn9hTiQse+Wmtz0bTwj5KqkRAElOidoHI+DnkpACnY+7VviNixS uOpY/aF61DdUS2PaZUQ1erZnUfhCOKXUOUEBMJUrbmOuGUxk+Jjm9/9R0Qlp6FsToL qwpAJAZp+1pHfoV9kWbj/IC8RdHN54aPt+vq0MPBd7PsClfph58N47VSR8BqXmWUwI K+54vCmWx/ZBPg+Q89kOfeO43OZ/+LgbL3GweVUC1J4qixnRqk9klGP/TBjdH+2hnk a1OoBo3j9dmNw== Received: from johan by xi.lan with local (Exim 4.96) (envelope-from ) id 1qGIYS-0001My-31; Mon, 03 Jul 2023 14:21:21 +0200 Date: Mon, 3 Jul 2023 14:21:20 +0200 From: Johan Hovold To: Takashi Iwai Cc: Srinivas Kandagatla , Mark Brown , johan+linaro@kernel.org, perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, ckeepax@opensource.cirrus.com, kuninori.morimoto.gx@renesas.com, linux-kernel@vger.kernel.org, pierre-louis.bossart@linux.intel.com, alsa-devel@alsa-project.org, Stable@vger.kernel.org Subject: Re: [PATCH] ASoC: qdsp6: q6apm: use dai link pcm id as pcm device number Message-ID: References: <20230628092404.13927-1-srinivas.kandagatla@linaro.org> <877crh76ge.wl-tiwai@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 03, 2023 at 10:48:51AM +0200, Johan Hovold wrote: > On Mon, Jul 03, 2023 at 10:19:29AM +0200, Takashi Iwai wrote: > > On Mon, 03 Jul 2023 10:03:52 +0200, > > Johan Hovold wrote: > > > > Ok, scratch that. I just hit the race again also with this patch > > > applied: > > > > > > [ 11.815028] q6apm-dai 3000000.remoteproc:glink-edge:gpr:service@1:dais: Adding to iommu group 23 > > > [ 11.838667] snd-sc8280xp sound: ASoC: adding FE link failed > > > [ 11.838774] snd-sc8280xp sound: ASoC: topology: could not load header: -517 > > > [ 11.838916] qcom-apm gprsvc:service:2:1: tplg component load failed-517 > > > [ 11.838996] qcom-apm gprsvc:service:2:1: ASoC: error at snd_soc_component_probe on gprsvc:service:2:1: -22 > > > [ 11.839430] snd-sc8280xp sound: ASoC: failed to instantiate card -22 > > > [ 11.844801] snd-sc8280xp: probe of sound failed with error -22 > > > > Isn't it rather an issue about the error code passing in qcom driver? > > How about the change like below? > > Indeed, and I tested a change like that here: > > https://lore.kernel.org/lkml/ZIHSGf18Aw7htb9o8@hovoldconsulting.com/ That link was missing was apparently broken, should have been: https://lore.kernel.org/all/ZIHSGf18w7htb9o8@hovoldconsulting.com/ > > but that only seems to make the problem worse currently. > > This should probably still be fixed, but I was just hoping that the DAI > numbering could have been the cause for the probe deferral (which then > triggers the other bugs). Johan