From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC712C48BD6 for ; Wed, 26 Jun 2019 10:38:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B8984205F4 for ; Wed, 26 Jun 2019 10:38:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1561545529; bh=RRYtR6AcdUYd+daAkad+UJ5axP6nXjed0T7qwjd8ZwE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=ZoDhSS3XlbZatgSr7ybBFQuTE/7mmXW/ZkFmViOL3tWVzBPHYb7OFL/d5Vhlzx4zH 5u9h2rvn+BB1COaErkXZC5zmKIjr2WzK5fGkggQ8s8uxCYZfCZXXUOu6T9NIf2bHly MynE6im5V6VgI615SNs4RNSr8qr8zMUv2oH7wvzM= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727289AbfFZKis (ORCPT ); Wed, 26 Jun 2019 06:38:48 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:46982 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727270AbfFZKiq (ORCPT ); Wed, 26 Jun 2019 06:38:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=mLe70bOHRoHREYcixEc1iuvMjBR5uAVQxRoxXvlAR5Y=; b=lt5AwQwZIYUsuWU3FKwDcz9zI N7MuB1m//cd5VyGQeW/ZDB6/Bg0BSQBnuQLqgy8O6GSG1CcwOlx/9mtuVt+MKLCAUjDPMoFMadT5h XqbPDBq6OOAyVEtlV9PqY6T0Z48PNPko87EB+t/mxnVZYjcqlbJARkTipAtrmJlZf1sz0=; Received: from cpc102320-sgyl38-2-0-cust46.18-2.cable.virginm.net ([82.37.168.47] helo=finisterre.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hg5K8-0007lD-AM; Wed, 26 Jun 2019 10:38:44 +0000 Received: by finisterre.sirena.org.uk (Postfix, from userid 1000) id D5C2A440046; Wed, 26 Jun 2019 11:38:43 +0100 (BST) Date: Wed, 26 Jun 2019 11:38:43 +0100 From: Mark Brown To: Sasha Levin Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tzung-Bi Shih Subject: Re: [PATCH AUTOSEL 5.1 31/51] ASoC: core: move DAI pre-links initiation to snd_soc_instantiate_card Message-ID: <20190626103843.GV5316@sirena.org.uk> References: <20190626034117.23247-1-sashal@kernel.org> <20190626034117.23247-31-sashal@kernel.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="VuNaACpQBNTJaEiM" Content-Disposition: inline In-Reply-To: <20190626034117.23247-31-sashal@kernel.org> X-Cookie: Editing is a rewording activity. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --VuNaACpQBNTJaEiM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 25, 2019 at 11:40:47PM -0400, Sasha Levin wrote: > From: Tzung-Bi Shih >=20 > [ Upstream commit 70fc53734e71ce51f46dfcfd1a1c319e1cfe080c ] >=20 > Kernel crashes when an ASoC component rebinding. >=20 > The dai_link->platforms has been reset to NULL by soc_cleanup_platform() > in soc_cleanup_card_resources() when un-registering component. However, > it has no chance to re-allocate the dai_link->platforms when registering > the component again. Again, are you sure there's no dependencies? --VuNaACpQBNTJaEiM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl0TSzMACgkQJNaLcl1U h9DE5gf+K3+2C2SD++rtiCNWWKvRWYnLT741itL+WfND0JnhN2iLLislldBQHwNY JdhBCCWZwn/GsPlEekgek2TCjF6w4kw9YuszXzMWa/6Irdzb2TBMK6rBRsOWvjBe NKmjGhmngYEpUL1eO2ITEz+A1pS1EIeux9S9AfoyvDF7AVy2tbAMb/XCbghwgSn0 HfIDPWXrrGJU3n3bZVqnvcV2jmsSmd6WFN1JrY2jtMfmR7BB6SqUW5FGfZFnzCsf 0I662XhouioPrhDFaTcY83k2Vu3gzG+1/50XLvzXMWlLZLsNZ5D8vIQJEhEj9N6y PAU6ipn93D98UDx0eMA6xKnju3tXJQ== =jGaQ -----END PGP SIGNATURE----- --VuNaACpQBNTJaEiM--