Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp4814385yba; Tue, 30 Apr 2019 04:58:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7aP4mM7NTZb5ucuL4abEmt3LoaxJTeLXMp48SX/7jK1t5CyGu1fxDRLzmRv/1fSyNMoqo X-Received: by 2002:a63:b53:: with SMTP id a19mr22082120pgl.216.1556625509310; Tue, 30 Apr 2019 04:58:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556625509; cv=none; d=google.com; s=arc-20160816; b=qf/so1CR7ELjANTXzz58qzh+Guq9kEZRTKPImRJ3GF49jQMejotSYC6hBKkrHgSYO2 wwiWxmwUZAIJVEKvnB7QC9kqafmIvuKDoEyiSNU095UDsgUtoUKepnsbkJJYHGk+XI5A l4EK62sDTDVs9wC6jwJrnnBYFjOZmWEhjhO/YkEcZ077yXRzvtxwhyWJnKhp3prWTXDc 9OeFMt3KQ8Tjns3lwvZ8XJqKnPAxzYP/vT24pPFYWVmWoeXtvjcxIcp8OCD7mbr86gng je1Ub+N52R/YWd6H1Hv5oxZf5NBDnwZGFjmrM1xZSLt0Il8M/eAwkOuuOXRnxzHot/ir A6BA== 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=LNoTE+sBmBMjcX2K/+yp0gTSROacxWBlb5B6w23Ugn8=; b=NI0Lt1wcM/2KtYYOK6outMfowuUvk76GKXWGA+SbLV7teouWwxctpgJY+blKN2Nhls vdY3AzQeZBCrk5xc3Z3X+OER58bTCE1xOlfHZnpyNqIonfFn3F53Gxgr4a+f5n6s0Zr4 Jc/yzxywnnSiAyXnRM48MCQ4HZjfk/E6Fu9I76F93njYZqXoYhMt31floN9e9ZB1BUtU 9Yw7wMLd6C81Be8bFbuu/OdnDglbj+jy0T+pCBC2pjCnkXCSIw3Jj59Ac3WsYfH7cEex X9ZZh8klI2zB5hHRFcCTi53GZDOTwBQLgz9zl+C8INdFGH2M2uEGPIWJz5QsqvcNzF0z U31A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xQf5uGBi; 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 n17si12260247pgj.487.2019.04.30.04.58.13; Tue, 30 Apr 2019 04:58:29 -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=@kernel.org header.s=default header.b=xQf5uGBi; 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 S1731007AbfD3Lt3 (ORCPT + 99 others); Tue, 30 Apr 2019 07:49:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:35962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730981AbfD3LtZ (ORCPT ); Tue, 30 Apr 2019 07:49:25 -0400 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 167A22054F; Tue, 30 Apr 2019 11:49:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1556624965; bh=BdQhIG9wILFo7eLEILQEvL3B4jrM0QzUfDXwLdG2Sgg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xQf5uGBi4QkLZXS2VapUUTrwSgQrwKRmDDpNYxxNykRS79STCJqyLvBrAzNmmSx4J utnFAyWhFh2OWIio85PRQ02LoN/mEWbs4dKlcN5pJtkKK4HEGTIXO30dD6ebICLzYI JN5fL0/Vv2C8LxX0zx7Zw3x3IVtGQcmc5zhxJjiA= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Shun-Chih Yu , Vinod Koul Subject: [PATCH 5.0 39/89] dmaengine: mediatek-cqdma: fix wrong register usage in mtk_cqdma_start Date: Tue, 30 Apr 2019 13:38:30 +0200 Message-Id: <20190430113611.648834954@linuxfoundation.org> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190430113609.741196396@linuxfoundation.org> References: <20190430113609.741196396@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Shun-Chih Yu commit 5bb5c3a3ac102158b799bf5eda871223aa5e9c25 upstream. This patch fixes wrong register usage in the mtk_cqdma_start. The destination register should be MTK_CQDMA_DST2 instead. Fixes: b1f01e48df5a ("dmaengine: mediatek: Add MediaTek Command-Queue DMA controller for MT6765 SoC") Signed-off-by: Shun-Chih Yu Cc: stable@vger.kernel.org Signed-off-by: Vinod Koul Signed-off-by: Greg Kroah-Hartman --- drivers/dma/mediatek/mtk-cqdma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/dma/mediatek/mtk-cqdma.c +++ b/drivers/dma/mediatek/mtk-cqdma.c @@ -253,7 +253,7 @@ static void mtk_cqdma_start(struct mtk_c #ifdef CONFIG_ARCH_DMA_ADDR_T_64BIT mtk_dma_set(pc, MTK_CQDMA_DST2, cvd->dest >> MTK_CQDMA_ADDR2_SHFIT); #else - mtk_dma_set(pc, MTK_CQDMA_SRC2, 0); + mtk_dma_set(pc, MTK_CQDMA_DST2, 0); #endif /* setup the length */