Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp762032rwd; Thu, 8 Jun 2023 07:26:10 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7yjgnn/dhtuL8/HoIgVtOiirjrzaVmaqFeuLKdeD0C5jXvnE03OZ2mUKJrAdJJmccRjBEB X-Received: by 2002:a17:902:db0f:b0:1b0:4bc7:31ee with SMTP id m15-20020a170902db0f00b001b04bc731eemr8901776plx.32.1686234370561; Thu, 08 Jun 2023 07:26:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686234370; cv=none; d=google.com; s=arc-20160816; b=LwITgycdHNKsf5UUbE93nvn8Z3P7NV6dtdTr//JxeofrbEJ50US66iCBq7cEJdxWiN SyNN8NmeRvWWX3PRsEn6KKkDQAjqki+IMVH9bLu36lPmshDGHQUOR/+3pwaisxAUJb71 NzazdsMOMzkLxAiMZ0y+4dyEvQZq/auWGkv2zmibFUpXXhzufifm+TWrdYn5lBuuS/am lDpJbtnXQdMdqrEAMXm5pT2Cqf3ciXUMpo9fnFWSUQ5OegSIiF2pvQySQRxcg0Rkgum+ J+Z0qB1gP6pGb9t90tQ1h7dCD3s7JMXEoca7cBccuHabJHZAMaYMl/ij7Cfr3EfmGZuK OmGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=yDI2LBlFR8sITE2QFoLi3AUonttlw9k/UkWS9UEYZTk=; b=znELlNiknYhDvU9LY8YKZmHYoFpLPxkHZywRGRMED2uzqaX8FGAogMDqff7HMGLF6v sNcFb9zyak3YEjoFwwHS1HDm+A8xbNZKim6KDPc8b4va0waZ95L+el5OAMpWGOCy1nap DupEwNwqFJMg7GJeO48XLa3HadzDrv0G6yd8X2JEq3jh5qXFKar15aHV97oSCSwsMuhY 71aVEiddEgLZxUpBakNNdtb/FD5A89JUIZ2EMavH/8inQEpwI4DpKxm+2bkjR2zVq/Aj mGqCATa+tzYYJmZi0colru/JF0d9AYysXkmIrBeTPN5KykpIYpzNiSsK9qt3eHMlRKN+ 4BmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lC10Wy9g; 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=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b16-20020a170903229000b001b0496b5affsi1183656plh.353.2023.06.08.07.25.56; Thu, 08 Jun 2023 07:26:10 -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=@linaro.org header.s=google header.b=lC10Wy9g; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236623AbjFHOXL (ORCPT + 99 others); Thu, 8 Jun 2023 10:23:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236034AbjFHOXK (ORCPT ); Thu, 8 Jun 2023 10:23:10 -0400 Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F54D2D4B for ; Thu, 8 Jun 2023 07:23:09 -0700 (PDT) Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-3f6dfc4e01fso6069755e9.0 for ; Thu, 08 Jun 2023 07:23:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1686234187; x=1688826187; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=yDI2LBlFR8sITE2QFoLi3AUonttlw9k/UkWS9UEYZTk=; b=lC10Wy9gPzHJ6NnRAsIwUXnVpDb4XlofuxCgQjtk/rjWYr8LaqO/4tZz5jBjg1dy0+ i1d3+ywhfHP/z3TZRxyse48aQV29v6+ymP9Y2xfOnmsafHMF7OU8MFnqh5OG4j2SI4Eh gr6xDrGNBIF3R9PSPaIiuAOfpjwKg6Nn+7FWN+I7nK8rvfsJ6HxZm5n3z6XTRDebz5BH 9Xwg9rdveV0wz/Ifywl/ek2ibxhIpCOKIl7fbLZZmMMFrdH3sFjzbjIa2QdEDsfCfR3u jSBlxUnUgG9q8tLuHOE6oGt3K+oW2rRrra3zBg+hQsLkYSpNhbWkWZlNdh1Jpy8MMu4C uCXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686234187; x=1688826187; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yDI2LBlFR8sITE2QFoLi3AUonttlw9k/UkWS9UEYZTk=; b=lMrkx/qt4bIVbgGEzrEoUIto06E70J1MFBui1UIdPoTuE4QhJHY4yIsA5xaeESWAya 6tMSylaaMgXhOeoay27fJOTfkG2VP6y4E13JNgS8KVL4ZlJ0E2IrA6TsrX6wLCYqFSFc NvyhqPPmvMucbZIwRpwHH77BnHo4niKB66JW3SaSrDT9c4RZH55WLdVKNhpQPzNiCn8m ekAT5c35d1+gmLXQoMil3B3JQzzuqdqHASWj11FWkMiBlS9i3pUWwHF6l4b+vyR4dlny QW3TDSWciOH28QqXk3Zc0I2dWMH61qf2G9etqoavMQLBW4+KMduV3YM+mCd2iXcKy3re bc4A== X-Gm-Message-State: AC+VfDw5E5lxDlnxjR1X7TcMDmdsUtZ3uiOJZSpMCIDP3C1Ogd3vH98v 3lECYWtwxl9yvtjvMQwVtyG6gw== X-Received: by 2002:a7b:cc84:0:b0:3f7:2323:e012 with SMTP id p4-20020a7bcc84000000b003f72323e012mr1498068wma.5.1686234187535; Thu, 08 Jun 2023 07:23:07 -0700 (PDT) Received: from [192.168.1.195] ([5.133.47.210]) by smtp.googlemail.com with ESMTPSA id b14-20020adfe30e000000b00307a86a4bcesm1737355wrj.35.2023.06.08.07.23.06 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 08 Jun 2023 07:23:06 -0700 (PDT) Message-ID: <71712242-ffc3-69d0-6abe-6ee61d3630bf@linaro.org> Date: Thu, 8 Jun 2023 15:23:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: [PATCH v2 0/4] soundwire: qcom: stablity fixes Content-Language: en-US To: Johan Hovold Cc: vkoul@kernel.org, andersson@kernel.org, yung-chuan.liao@linux.intel.com, pierre-louis.bossart@linux.intel.com, sanyog.r.kale@intel.com, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org References: <20230525133812.30841-1-srinivas.kandagatla@linaro.org> <5d6bcc6a-151e-ac21-2dd2-f72a91f562d5@linaro.org> From: Srinivas Kandagatla In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 08/06/2023 14:05, Johan Hovold wrote: > On Thu, Jun 08, 2023 at 01:45:22PM +0100, Srinivas Kandagatla wrote: >> On 08/06/2023 13:40, Johan Hovold wrote: > >>> Looking at the above log it seems like we hit a probe deferral somewhere >>> as some resource is not available yet, and this is eventually turned >>> into a hard failure that breaks audio as the error is propagated up the >>> stack. >> >> I was looking at this too, And I think this change should help.. >> Not tried it though > >> ret = snd_soc_tplg_component_load(component, &audioreach_tplg_ops, fw); >> - if (ret < 0) { >> + if (ret < 0) >> dev_err(dev, "tplg component load failed%d\n", ret); >> - ret = -EINVAL; >> - } > > That in itself only seems to make the problem worse with new follow-on > errors. Looks like a dereference of an error pointer in a codec driver: Thanks Johan, I will try to see if we can fix this properly. --srini