Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2009916imm; Tue, 10 Jul 2018 11:32:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdD7JyB+I9KuoMTR439Q5vTVNXHtZ0US5lJ0otlQiBvwt6ZZ0tSzQLyPi12me7LgfSezh+r X-Received: by 2002:a63:3f05:: with SMTP id m5-v6mr17562931pga.51.1531247525934; Tue, 10 Jul 2018 11:32:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531247525; cv=none; d=google.com; s=arc-20160816; b=Uq86uuU1vyyxuvCJq3I2LKDFVsx4zsOg00wvzWdK/OhpVitnQpls5j4aUpgveqrbkl 77T54BwRl8aSxpuDuRLkjFRN21CVFxfRmiRqqRmfoQkixP9gy5l25xrOfBqg175smXjq Lf2TpiiriRuXBMbR88N31vZWnpHNvaViekR8qBvgIIs90C59CBGPF89WTPztvOxOGWwc v6GGMQ9t1uSnUAbzUGKjUsnjoUbJT4rPWkIY4LtvYQAJYKAT2O8jPgaDygkeNzxaqQJ2 j+xHSBBMfwmKK0EUrlTONkaXa8MbbyyQ4ekl9AvB0rEv7AFJ0yP/duYoM72yYi8SUsbo At7A== 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=OsVsORhHc4rQlEd5AAhw3re+JZqR5lyfewpfUDLF48U=; b=bAqy8HDFPuGXcgBUhZlIo+ULiN7mkiEWECcJVk1zD46PgG7iYAim6WlFPPrVHy/ibm udE49uZGvr5q+lXLmSJ3e1GKaX3TPLmHanXDmerVBdPTCYJ60cJQrHUBTSuh+TbqkXr9 2eBA+sRvhwhLwuw9a62G9Dn+g/6uPoa9PbyFcbQs3Oljg2EIEiHcH7s3blKxa4OJgqEM jheFBr3wdApn8iId4UnYYWo+92l4vjy2QL7J0pz64U+AtdB1qAY9X2/s0sgogE4wuI5O TxfP2GVmQ8evzXs5MI2/CARrEHPvvAizAdd1ciVkpW6Ofmfn1xLQKw7runuC71ocTR9u jbPQ== 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 n1-v6si2735222pge.57.2018.07.10.11.31.50; Tue, 10 Jul 2018 11:32:05 -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; 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 S2387825AbeGJS3l (ORCPT + 99 others); Tue, 10 Jul 2018 14:29:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:45380 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732245AbeGJS3k (ORCPT ); Tue, 10 Jul 2018 14:29:40 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id D7DEEEB8; Tue, 10 Jul 2018 18:29:28 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Sean Nyekjaer , Fabio Estevam , Shawn Guo Subject: [PATCH 4.9 15/52] ARM: dts: imx6q: Use correct SDMA script for SPI5 core Date: Tue, 10 Jul 2018 20:24:43 +0200 Message-Id: <20180710182451.005764125@linuxfoundation.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180710182449.285532226@linuxfoundation.org> References: <20180710182449.285532226@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: Sean Nyekjaer commit df07101e1c4a29e820df02f9989a066988b160e6 upstream. According to the reference manual the shp_2_mcu / mcu_2_shp scripts must be used for devices connected through the SPBA. This fixes an issue we saw with DMA transfers. Sometimes the SPI controller RX FIFO was not empty after a DMA transfer and the driver got stuck in the next PIO transfer when it read one word more than expected. commit dd4b487b32a35 ("ARM: dts: imx6: Use correct SDMA script for SPI cores") is fixing the same issue but only for SPI1 - 4. Fixes: 677940258dd8e ("ARM: dts: imx6q: enable dma for ecspi5") Signed-off-by: Sean Nyekjaer Reviewed-by: Fabio Estevam Signed-off-by: Shawn Guo Signed-off-by: Greg Kroah-Hartman --- arch/arm/boot/dts/imx6q.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/arm/boot/dts/imx6q.dtsi +++ b/arch/arm/boot/dts/imx6q.dtsi @@ -96,7 +96,7 @@ clocks = <&clks IMX6Q_CLK_ECSPI5>, <&clks IMX6Q_CLK_ECSPI5>; clock-names = "ipg", "per"; - dmas = <&sdma 11 7 1>, <&sdma 12 7 2>; + dmas = <&sdma 11 8 1>, <&sdma 12 8 2>; dma-names = "rx", "tx"; status = "disabled"; };