From patchwork Tue Dec 3 22:34:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Greg Kroah-Hartman X-Patchwork-Id: 180745 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp2146960ile; Tue, 3 Dec 2019 14:40:24 -0800 (PST) X-Google-Smtp-Source: APXvYqxCeQqZXNZWOwg2FAsfvmJFj7wO44f2jpi4J7mi+cLxBEV5p5frahYsqY8JIuJt3wAgwUP4 X-Received: by 2002:a9d:a2f:: with SMTP id 44mr195388otg.264.1575412824027; Tue, 03 Dec 2019 14:40:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575412824; cv=none; d=google.com; s=arc-20160816; b=jg6l8rCVxjZ+q+Ivt2cOqxWnwjvHNCFUmtd3UENpiy8osvfKEtXWYv2CKlseiWPbBW n25+fURDA6o1JzjBMk3E3Bp5SlEbVwcJ+R1VsRtZeJ2xTfLItdOHx8EfaStTk0kiBgUw evfS/Z4tgGLUi3daQu7hve0Qa0B3o7cXKpCFoYMmWkOvzq9jevsFf8bvVm7632FgG7tH PidWABwa9ahQF90pzFm24h8/iJ9DTkPBbWUV8a6Vi7MfHwyNWNWRAeAGllbhVxFHrndC INsdBt+TBjmRGtMNIfAvHJzUB1ZFX/6dswXy1e9boG6KgUTuJrX1R/odcSUbdwB/2jn1 mWDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=flbReifQdR7X9S4tl/viB8Br0Vc0b1dkZfNXWyXtUm0=; b=keBK7woCfEuYrrqT+gOKtjQY/nA5Kd+Ax7tzuutMAU6mLJUqfVdTyYDuweRwyrE1w9 QdNj8dQF/5x/FDxNc5mA9kadVYbpj98RsTrFzC7JbCpj2fYqY+6xd/wLt0yEpLjsFuDY a4Cr3tqlzxlZVJry0fE0F4kPuPlbM7AFFhhisNtyr5iGKo14U6TWNPbio4GV+s5yCUnq VleKmgW8/s/HBVf/Y2YUBFjZTlhRGeHQtXfsvLkUBP57F9JtYFDD8bdSdEDyZ+YAui0s YINy7kN7XsCniHHVNOExu88XLD/R0ec3mUFp9z5htfaCrermbthiX6F+KP8bm6/Q6dlt IOTQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=s9nGsemO; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d68si2181414oib.194.2019.12.03.14.40.23; Tue, 03 Dec 2019 14:40:24 -0800 (PST) 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=@kernel.org header.s=default header.b=s9nGsemO; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728385AbfLCWkW (ORCPT + 27 others); Tue, 3 Dec 2019 17:40:22 -0500 Received: from mail.kernel.org ([198.145.29.99]:52272 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728369AbfLCWkN (ORCPT ); Tue, 3 Dec 2019 17:40:13 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 0A1FE20684; Tue, 3 Dec 2019 22:40:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1575412813; bh=Y1eV9BGmJlwzfgq2f4elwfN8nxcAwz5R2WINNQ6BsAc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=s9nGsemOrYd1/VsW2+wQp4yiMzV7ibbFKZqSZZK3cDzdtB/QWLnkHifWuNdqj0FxK 8Toestr1/1vPnqpQaqa0uYqvermI9r70LW6bRX1HArb+gt8MCjYYkAsD6ppcawaBBi EXCFqrGcBMObQ2uTzu60OUBwg1ecXS6v4L87j2M4= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Peter Ujfalusi , Mark Brown , Sasha Levin Subject: [PATCH 5.3 026/135] ASoC: ti: sdma-pcm: Add back the flags parameter for non standard dma names Date: Tue, 3 Dec 2019 23:34:26 +0100 Message-Id: <20191203213010.769114594@linuxfoundation.org> X-Mailer: git-send-email 2.24.0 In-Reply-To: <20191203213005.828543156@linuxfoundation.org> References: <20191203213005.828543156@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Peter Ujfalusi [ Upstream commit dd7e8d903e1eef5a9234a2d69663dcbfeab79571 ] When non standard names are used it is possible that one of the directions are not provided, thus the flags needs to be present to tell the core that we have half duplex setup. Fixes: 642aafea8889 ("ASoC: ti: remove compat dma probing") Signed-off-by: Peter Ujfalusi Link: https://lore.kernel.org/r/20191028115207.5142-1-peter.ujfalusi@ti.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- sound/soc/ti/sdma-pcm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/sound/soc/ti/sdma-pcm.c b/sound/soc/ti/sdma-pcm.c index a236350beb102..2b0bc234e1b69 100644 --- a/sound/soc/ti/sdma-pcm.c +++ b/sound/soc/ti/sdma-pcm.c @@ -62,7 +62,7 @@ int sdma_pcm_platform_register(struct device *dev, config->chan_names[0] = txdmachan; config->chan_names[1] = rxdmachan; - return devm_snd_dmaengine_pcm_register(dev, config, 0); + return devm_snd_dmaengine_pcm_register(dev, config, flags); } EXPORT_SYMBOL_GPL(sdma_pcm_platform_register);