From patchwork Thu Aug 2 15:03:36 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Srinivas Kandagatla X-Patchwork-Id: 143349 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp2277086ljj; Thu, 2 Aug 2018 08:06:01 -0700 (PDT) X-Google-Smtp-Source: AAOMgpevrZ+ijZxmhU7JMD6bu7QsiU5Qc+CsdWVFSJUZcNorsnpzPUxzPkVP6mjeYsENz1TuLiNd X-Received: by 2002:a63:115e:: with SMTP id 30-v6mr3240370pgr.53.1533222361047; Thu, 02 Aug 2018 08:06:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533222361; cv=none; d=google.com; s=arc-20160816; b=H2XqWomLZq5x6szmSEl6MFxFDo0JXpTnTyVx1/iKsmuxQuiIoR0KugiWxaz5mnarpV fYHFgFdiO58o2vJqThzIiz3FdGfjxvxkoOh+oLox2dWrsQ+w2UwZP4UAb0bFcoPS1N/q hGUHugJAzMcgx6sUObGaLjAYgiey69cXOoK6VOImq/UvtFy0BUjWZ6UJU10wyHfwyCtk NlpqfBgOJHVj0FxxiyO5+WUsUm/W9DIfVByVHQIai90Ig/E7Jkfkp5J4Qai9h1R2kp6+ haluLq2FAr3tSvo8IPCJS3lOX1KNRrFNOPjA5Z5sxxnujMROWMwCKvBSQQPcgBtf3Xor P5aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:arc-authentication-results; bh=lsiz5N5rWCk8QDHzn/s6pltCN2LXL/Z1fx+4l7XaxPI=; b=tvQ+TfTet2vIjejHuX/jIvW1mBKg9Ggfu/jQy2+IFKwMtnkbWokPyMWsyn2cWOJDES bT+Q5ODmUJgt0UWqMxpECt2HO8+ufpj0x+pqqOjius9fKTbpSaQ9TDeCBajVh4Z4Ir5f 1dWT52bAvke4USDJ2znfzsvEvnk6IPnbucoPzfF79JNoamwcxoac8vJVL15d+OKec3Yt zotKtJIf7Hz61kr8RY6v+XkRI1me1mKVqWBKEi8UvP1Mpul+KMIECVls5GI1mbwpBlda TGW1hSPBIpaMR1hV7b/ZfL22P/04GJyXO/4b37qPun7TE0sgUWJ5Iv388OhOteQZLmBT 6kYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="P/zGrPpP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id c4-v6si2147308pfd.344.2018.08.02.08.05.58; Thu, 02 Aug 2018 08:06:01 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="P/zGrPpP"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1732608AbeHBQ5a (ORCPT + 31 others); Thu, 2 Aug 2018 12:57:30 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36729 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732530AbeHBQ53 (ORCPT ); Thu, 2 Aug 2018 12:57:29 -0400 Received: by mail-wm0-f68.google.com with SMTP id w24-v6so2948860wmc.1 for ; Thu, 02 Aug 2018 08:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lsiz5N5rWCk8QDHzn/s6pltCN2LXL/Z1fx+4l7XaxPI=; b=P/zGrPpPpmqpTFPVTBM/mSy7EZXT43pljUdD2jqgxjmhfsSSPowp2RpRUzKIXAyG75 +UGOKpLyQv8Ytx/EAebr5snN/Zw6s3w+cANGsQuk2zMuZPigMKaBGas238loB0W3gJDP 5X2pdTDMHU2edAmfD6VeC7pavKT61hGgCwot4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lsiz5N5rWCk8QDHzn/s6pltCN2LXL/Z1fx+4l7XaxPI=; b=NK7Aw8zKfix6NoMaNWBLB0aMbWHdWDFYPUIV4xekwgk2vGU2rMuVgWzVlnIpT9YSs3 jiNgQbZ21WLMBzxZi6I+shkuRrUV5gMvAvdiLdBY/2lG6PzBXC2n2jtap5mk85PFPWvu RRWXzueDwOo7H1SK42Tvo6cZh32QzHYYMaExvBuPsEZuJoexX5LR0CntiBMoTrwOxRWS JVs9Bdw1q0RzJSp1Z7X+RL9ZWrluC36qWiLBTS58z4Tn0MzOSV7bRgZ5kqitRs6gJ5Pa qf7Xc89mVEUCwjrCV85UfKez8WcryzhACnKp9SYz41cGWJi8pUo+YsCUuOvEphl+QaH1 a1WQ== X-Gm-Message-State: AOUpUlFOV09AJ6y++fumjtUJaqYudIqZJ5KSAZcMPV7iXx+7TNitl3mi ScxSPBZV4MY7lf0aFGQvU0HfeQ== X-Received: by 2002:a1c:5b09:: with SMTP id p9-v6mr2486680wmb.0.1533222353634; Thu, 02 Aug 2018 08:05:53 -0700 (PDT) Received: from localhost.localdomain (cpc90716-aztw32-2-0-cust92.18-1.cable.virginm.net. [86.26.100.93]) by smtp.gmail.com with ESMTPSA id b126-v6sm2497517wmf.41.2018.08.02.08.05.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 02 Aug 2018 08:05:53 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org, lgirdwood@gmail.com, alsa-devel@alsa-project.org Cc: perex@perex.cz, tiwai@suse.com, vkoul@kernel.org, linux-kernel@vger.kernel.org, rohitkr@codeaurora.org, bgoswami@codeaurora.org, stefan.wahren@i2se.com, guillaume.tucker@collabora.com, Srinivas Kandagatla Subject: [PATCH 1/3] ASoC: apq8096: remove auto rebinding Date: Thu, 2 Aug 2018 16:03:36 +0100 Message-Id: <20180802150338.24538-2-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180802150338.24538-1-srinivas.kandagatla@linaro.org> References: <20180802150338.24538-1-srinivas.kandagatla@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove auto rebinding support, as component framework can deadlock in few usecases if we are trying to add new/remove component within a bind/unbind callbacks. Card rebinding is ASoC core feature so all the previous component framework stuff in q6dsp remains removed. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 2 -- 1 file changed, 2 deletions(-) -- 2.16.2 diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index 1e4a90d59228..6ee7e66cbaaa 100644 --- a/sound/soc/qcom/apq8096.c +++ b/sound/soc/qcom/apq8096.c @@ -48,7 +48,6 @@ static int apq8096_platform_probe(struct platform_device *pdev) return -ENOMEM; card->dev = dev; - card->auto_bind = true; dev_set_drvdata(dev, card); ret = qcom_snd_parse_of(card); if (ret) { @@ -74,7 +73,6 @@ static int apq8096_platform_remove(struct platform_device *pdev) { struct snd_soc_card *card = dev_get_drvdata(&pdev->dev); - card->auto_bind = false; snd_soc_unregister_card(card); kfree(card->dai_link); kfree(card);