Message ID | 20180704094944.16440-5-srinivas.kandagatla@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E7D59603D7 for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Jul 2018 09:53:00 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E5C5828D0D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Jul 2018 09:53:00 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D972328D1E; Wed, 4 Jul 2018 09:53:00 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 60A6F28D0D for <patchwork-linux-arm@patchwork.kernel.org>; Wed, 4 Jul 2018 09:53:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=ZVvW3oXr5QoahtiKqWpdP8WQY0XCZ9QgZuLypuzkdE0=; b=p7svRV3LJGlkXo6CJZGR8BxF5u aeYmmkBFAkEI4gKMixMcSqwXMER0D8KB+OS4dZaf3zT0HwT3pRQY36VRcEphguEMtSu1EvwXsrH+e Epi3kUbbwrnhQ/reTfVON7pa4u7DJk04tfYVX8qr+lPXhn20NPEcJ/q6aHcIcDaqgYWEP4jtwalTl VSuQBlLG8fJ+CHuVhg9ABc2RX0evsH62toSPtDcOiwo1MPlAecLPlCWtGnQ0MJCaDsyGH68z3gFqe rmeck3ponSQVjgEpWPUdipqZ59HVId3OKoxbWM+s6AP9dXQkZ4sLQ3PkkpnoM6Gy/aT+J0ppd4oFn Z0MZVoBQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1faeSw-0002ZT-A2; Wed, 04 Jul 2018 09:52:50 +0000 Received: from mail-wr0-x241.google.com ([2a00:1450:400c:c0c::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1faeSE-0001yI-V4 for linux-arm-kernel@lists.infradead.org; Wed, 04 Jul 2018 09:52:09 +0000 Received: by mail-wr0-x241.google.com with SMTP id t6-v6so4681608wrn.7 for <linux-arm-kernel@lists.infradead.org>; Wed, 04 Jul 2018 02:51:58 -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=95o/HT/SaGPK83p31aRyZLuV5q5VAPiiNUedqU0bxEA=; b=NG/Uhmb1VwXf9oil929a35cQ3yRSRxfD61nRbD/Afpe2Ufsvbio5CbiDt36J+sM7PX OmqGt8bvtyBMK/eneniYAQSRaePofypPsAtg0jDCAnAQWHr78yOl7iGVoD56+63BryCr T8e8n342sCHco2cL/8dLHspCj5Vs4E9GY3tSg= 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=95o/HT/SaGPK83p31aRyZLuV5q5VAPiiNUedqU0bxEA=; b=JIo+FZsKS+izzmxRL0NFSzmhvU+jZAC2/9uMOE3p64GD+o6oq8xuerDwEDuYy4tjND XoXkmXHK3F7L9Yn/cbsThUyQwx4ODS/pHwVi0BjiX4eMCD7WUVzGrzio24PJQPpLMza1 A0od6/vbGBa4DJV9N6xd5Grx6uKRiedvXUPL+LA1TkxmD41zSqFWJWA1/6umwhp2ona9 bTR+4knxhRz+5e06Esq8LQBCGRSxEDD47PiX8WQK/cELSE3vphmQm+vpGPsh98rHRDhC oRSa1w5GR+ln5ThVdtiTGn9ZcUXwW2QWeJinUoRs3MG3Wp/eU6q38lmYay94ExV1rzB2 IW8Q== X-Gm-Message-State: APt69E2XjgrkKKPgFmTQV1rV7v8PdLn70052wRNtb2Z+Zop4c9k1Zs6Y x5shm8+vGoys2zV+rfwIlTa49Q== X-Google-Smtp-Source: AAOMgpfEskBCW1rl1Fh/EXnSWlNVX6nnh2ppLFYz5UlS5luPBXS6UghxPp7gu3T6kJp0uJyxW3QGCA== X-Received: by 2002:adf:a0f3:: with SMTP id n48-v6mr1114940wrn.23.1530697917108; Wed, 04 Jul 2018 02:51:57 -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 125-v6sm6370089wmw.9.2018.07.04.02.51.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 04 Jul 2018 02:51:56 -0700 (PDT) From: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> To: broonie@kernel.org, alsa-devel@alsa-project.org Subject: [PATCH 4/6] ASoC: qdsp6: q6afe-dai: Do not overwrite slim dai num_channels Date: Wed, 4 Jul 2018 10:49:42 +0100 Message-Id: <20180704094944.16440-5-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180704094944.16440-1-srinivas.kandagatla@linaro.org> References: <20180704094944.16440-1-srinivas.kandagatla@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180704_025207_099303_8F4B819F X-CRM114-Status: GOOD ( 10.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: bgoswami@codeaurora.org, linux-arm-msm@vger.kernel.org, tiwai@suse.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, Srinivas Kandagatla <srinivas.kandagatla@linaro.org>, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c b/sound/soc/qcom/qdsp6/q6afe-dai.c index 8dd3683eb367..074582afda85 100644 --- a/sound/soc/qcom/qdsp6/q6afe-dai.c +++ b/sound/soc/qcom/qdsp6/q6afe-dai.c @@ -81,7 +81,6 @@ static int q6slim_hw_params(struct snd_pcm_substream *substream, struct q6afe_dai_data *dai_data = dev_get_drvdata(dai->dev); struct q6afe_slim_cfg *slim = &dai_data->port_config[dai->id].slim; - slim->num_channels = params_channels(params); slim->sample_rate = params_rate(params); switch (params_format(params)) {
num_channels for slim dais are aready set int set_channel_map, do not overwrite them in hw_params. Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> --- sound/soc/qcom/qdsp6/q6afe-dai.c | 1 - 1 file changed, 1 deletion(-)