Received: by 10.223.185.116 with SMTP id b49csp939992wrg; Wed, 21 Feb 2018 09:20:52 -0800 (PST) X-Google-Smtp-Source: AH8x224hUpnJq8PTdOZjSTx4/uC03J4rLCqppudgS00sNnjV3iRaN/xjaSOthPTPQnaytwLDYJMg X-Received: by 10.98.16.13 with SMTP id y13mr2242765pfi.188.1519233651917; Wed, 21 Feb 2018 09:20:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519233651; cv=none; d=google.com; s=arc-20160816; b=xyI2NbUKRg0lkc2WR0ikLbrmwZ67uw9dOsXb7sW1A8f0cvkRf7POtC7AaSoUu8FNvb 1xAafkSp204Qv9rKRveDOCJ3yrs91ueZZLj8JrywL6Zf5wk+vQU1Fv0Ftdcc5Xgck2Kg huGsqd+0qYXx1xTvWz6jXL2GgQXkMWYxVO1etJGJgNd+myB1/RImQvgWuBaEXV231M44 Ltsc8DfTrAaVZdVEHhmYRIYjEa56JG+okdpK8ihUd6aYUTEzun6wFQ2hxV4uKJvQMa35 ys9OnImNJfErDR8GqAcPUv5NWbPqcIM4bdpURyaP8liuzAnVvlnwxMPRINzuOhN/h8GE o6Nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=UvlS0ty97SQqJuINR1n1gEp4duIemwIun5kL/p0/knk=; b=iJa0v+4qdxA8wZaHQIxWY5txSTDu10ximAS+9dMLDZDd1VaEkoKdLvruldS5SOlVcb 9YeaDyr/vUGQ+O4ImFReNJeBelTvKEqjZmxMTw3jBrPc4y2g0WKo8N8+4XDvOzBTxjRf WXPb4xrAQF+FgaM3wlqf4k8QhjE+MTWJ0Y1/bGuHfuELi0BWtZKYIRxPZhVIpZEKmWCJ dyXe2gGNNv0P8Vm1Z5R2vYnjdzN3MHKU8u5FwiaGJ52gSHNAW/kKucnOCAqWyCvDsppl tN95dk/z2OXHQUBMBmsoCk3Fy45eHSJH3O09PmV0Dvjygx8g0d49tHtBqJ5sVIZgukXO papg== ARC-Authentication-Results: i=1; mx.google.com; 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 g19si763671pgn.813.2018.02.21.09.20.37; Wed, 21 Feb 2018 09:20:51 -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; 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 S934707AbeBUM5h (ORCPT + 99 others); Wed, 21 Feb 2018 07:57:37 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:35808 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934700AbeBUM5f (ORCPT ); Wed, 21 Feb 2018 07:57:35 -0500 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 5DAC794F; Wed, 21 Feb 2018 12:57:34 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Arnd Bergmann , Viresh Kumar , Olof Johansson Subject: [PATCH 4.9 48/77] arm: spear13xx: Fix dmas cells Date: Wed, 21 Feb 2018 13:48:57 +0100 Message-Id: <20180221124434.210290172@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180221124432.172390020@linuxfoundation.org> References: <20180221124432.172390020@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.9-stable review patch. If anyone has any objections, please let me know. ------------------ From: Viresh Kumar commit cdd10409914184c7eee5ae3e11beb890c9c16c61 upstream. The "dmas" cells for the designware DMA controller need to have only 3 properties apart from the phandle: request line, src master and destination master. But the commit 6e8887f60f60 updated it incorrectly while moving from platform code to DT. Fix it. Cc: stable@vger.kernel.org # v3.10+ Fixes: 6e8887f60f60 ("ARM: SPEAr13xx: Pass generic DW DMAC platform data from DT") Reported-by: Arnd Bergmann Signed-off-by: Viresh Kumar Signed-off-by: Olof Johansson Signed-off-by: Greg Kroah-Hartman --- Documentation/devicetree/bindings/dma/snps-dma.txt | 2 +- arch/arm/boot/dts/spear1340.dtsi | 4 ++-- arch/arm/boot/dts/spear13xx.dtsi | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) --- a/Documentation/devicetree/bindings/dma/snps-dma.txt +++ b/Documentation/devicetree/bindings/dma/snps-dma.txt @@ -63,6 +63,6 @@ Example: interrupts = <0 35 0x4>; status = "disabled"; dmas = <&dmahost 12 0 1>, - <&dmahost 13 0 1 0>; + <&dmahost 13 1 0>; dma-names = "rx", "rx"; }; --- a/arch/arm/boot/dts/spear1340.dtsi +++ b/arch/arm/boot/dts/spear1340.dtsi @@ -141,8 +141,8 @@ reg = <0xb4100000 0x1000>; interrupts = <0 105 0x4>; status = "disabled"; - dmas = <&dwdma0 0x600 0 0 1>, /* 0xC << 11 */ - <&dwdma0 0x680 0 1 0>; /* 0xD << 7 */ + dmas = <&dwdma0 12 0 1>, + <&dwdma0 13 1 0>; dma-names = "tx", "rx"; }; --- a/arch/arm/boot/dts/spear13xx.dtsi +++ b/arch/arm/boot/dts/spear13xx.dtsi @@ -100,7 +100,7 @@ reg = <0xb2800000 0x1000>; interrupts = <0 29 0x4>; status = "disabled"; - dmas = <&dwdma0 0 0 0 0>; + dmas = <&dwdma0 0 0 0>; dma-names = "data"; }; @@ -288,8 +288,8 @@ #size-cells = <0>; interrupts = <0 31 0x4>; status = "disabled"; - dmas = <&dwdma0 0x2000 0 0 0>, /* 0x4 << 11 */ - <&dwdma0 0x0280 0 0 0>; /* 0x5 << 7 */ + dmas = <&dwdma0 4 0 0>, + <&dwdma0 5 0 0>; dma-names = "tx", "rx"; };