Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756894AbcKWQzP (ORCPT ); Wed, 23 Nov 2016 11:55:15 -0500 Received: from mail1.bemta8.messagelabs.com ([216.82.243.198]:48877 "EHLO mail1.bemta8.messagelabs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756849AbcKWQzE (ORCPT ); Wed, 23 Nov 2016 11:55:04 -0500 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrEIsWRWlGSWpSXmKPExsVy+LrFKt17J00 jDH7OlrFYPfUvq8XlXXPYLH48nM5kMaf/KZtFy9MZjBYv+/azOLB59K/7zOqxeM9LJo9z7ycz ebw5fYrd4/MmuQDWKNbMvKT8igTWjHn3D7EV7GOreL7oJEsD4zHWLkYuDiGBZYwSNxcuYu5i5 OAQFtCVOHAsoouRk0NEwFXiz4SFLCA1zALbGSXedb5mBEkICehLTJu2nAXEZhMwkbh5/xyYzQ sUvzFjKjuIzSKgKtHy8iUriC0qkCDx6elPqBpBiZMzn4DZnAIGEpdXf2cCsZmBepu2zmGGsOU ltr+FsIUEtCXeb1wMNkdCQEFi6uRW5gmM/LOQjJqFpH0WkvYFjMyrGDWKU4vKUot0jcz0kooy 0zNKchMzc3QNDSz0clOLixPTU3MSk4r1kvNzNzECw7uegYFxB+OnJ76HGCU5mJREeU9vNI0Q4 kvKT6nMSCzOiC8qzUktPsQow8GhJMFbdAIoJ1iUmp5akZaZA4w0mLQEB4+SCO8hkDRvcUFibn FmOkTqFKMux7vN7x4wCbHk5eelSonztoIUCYAUZZTmwY2ARf0lRlkpYV5GBgYGIZ6C1KLczBJ U+VeM4hyMSsK8N44DTeHJzCuB2/QK6AgmoCMkvxmDHFGSiJCSamBc4CNz4/Lzz48WqMmfMnx4 p0rE1DlymUnYEiXF6rUxC/4/fcPOs1fO9bqMqsXz879rve/kz+kXWJVa86Kg7ki4hHnRaT6/F uUF+gtPV1kH/Hub/HlFu8MsPX6WeeIflne7F05J7rq0dQWjbuSbpcbZK+9zuLpL3VjcFn/yl5 JioJxEDfudHbFKLMUZiYZazEXFiQAdXM9p9QIAAA== X-Env-Sender: Marc_Gonzalez@sigmadesigns.com X-Msg-Ref: server-2.tower-220.messagelabs.com!1479920089!113060132!1 X-Originating-IP: [195.215.56.170] X-StarScan-Received: X-StarScan-Version: 9.0.16; banners=-,-,- X-VirusChecked: Checked Subject: [PATCH 3/6] Fixup for tango4 support To: Mans Rullgard , Vinod Koul CC: , LKML , Sebastian Frias , Mason , Thibaud Cornic References: <5835C84A.6000706@sigmadesigns.com> From: Marc Gonzalez Message-ID: <5835C909.8040902@sigmadesigns.com> Date: Wed, 23 Nov 2016 17:51:21 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 SeaMonkey/2.40 MIME-Version: 1.0 In-Reply-To: <5835C84A.6000706@sigmadesigns.com> Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Originating-IP: [172.27.0.114] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 830 Lines: 28 --- drivers/dma/tango-dma.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/dma/tango-dma.c b/drivers/dma/tango-dma.c index 494b046d1d3d..6a32d234ffb0 100644 --- a/drivers/dma/tango-dma.c +++ b/drivers/dma/tango-dma.c @@ -156,7 +156,7 @@ static int tangox_dma_issue_single(struct tangox_dma_pchan *pchan, writel(sg->addr, pchan->base + DMA_ADDR); writel(sg->len, pchan->base + DMA_COUNT); wmb(); - writel(flags << 2 | DMA_MODE_SINGLE, pchan->base + DMA_CMD); + writel(DMA_MODE_SINGLE << 1 | flags, pchan->base + DMA_CMD); wmb(); return sg->len; @@ -569,7 +569,7 @@ static int tangox_dma_remove(struct platform_device *pdev) } static struct of_device_id tangox_dma_dt_ids[] = { - { .compatible = "sigma,smp8640-dma" }, + { .compatible = "sigma,smp8758-dma" }, { } }; -- 2.9.0