Message ID | 1459101907-9756-2-git-send-email-appanad@xilinx.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org> X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id AF7D9C0553 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 27 Mar 2016 18:07:30 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id D7A3120204 for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 27 Mar 2016 18:07:29 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E8C0E201FE for <patchwork-linux-arm@patchwork.kernel.org>; Sun, 27 Mar 2016 18:07:28 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1akF4Y-0007Vo-1z; Sun, 27 Mar 2016 18:05:58 +0000 Received: from mail-cys01nam02on0061.outbound.protection.outlook.com ([104.47.37.61] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1akF4G-0007R9-90 for linux-arm-kernel@lists.infradead.org; Sun, 27 Mar 2016 18:05:42 +0000 Received: from BL2NAM02FT057.eop-nam02.prod.protection.outlook.com (10.152.76.55) by BL2NAM02HT138.eop-nam02.prod.protection.outlook.com (10.152.77.29) with Microsoft SMTP Server (TLS) id 15.1.453.6; Sun, 27 Mar 2016 18:05:17 +0000 Authentication-Results: spf=pass (sender IP is 149.199.60.83) smtp.mailfrom=xilinx.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=xilinx.com; Received-SPF: Pass (protection.outlook.com: domain of xilinx.com designates 149.199.60.83 as permitted sender) receiver=protection.outlook.com; client-ip=149.199.60.83; helo=xsj-pvapsmtpgw01; Received: from xsj-pvapsmtpgw01 (149.199.60.83) by BL2NAM02FT057.mail.protection.outlook.com (10.152.77.36) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Sun, 27 Mar 2016 18:05:16 +0000 Received: from unknown-38-66.xilinx.com ([149.199.38.66] helo=xsj-pvapsmtp01) by xsj-pvapsmtpgw01 with esmtp (Exim 4.63) (envelope-from <appana.durga.rao@xilinx.com>) id 1akF3r-0004ct-QH; Sun, 27 Mar 2016 11:05:15 -0700 Received: from [127.0.0.1] (helo=localhost) by xsj-pvapsmtp01 with smtp (Exim 4.63) (envelope-from <appana.durga.rao@xilinx.com>) id 1akF3r-0007kh-MK; Sun, 27 Mar 2016 11:05:15 -0700 Received: from xsj-pvapsmtp01 (xsj-mail.xilinx.com [149.199.38.66]) by xsj-smtp-dlp1.xlnx.xilinx.com (8.13.8/8.13.1) with ESMTP id u2RI5A5O020269; Sun, 27 Mar 2016 11:05:10 -0700 Received: from [172.23.64.207] (helo=xhd-lin64re117.xilinx.com) by xsj-pvapsmtp01 with esmtp (Exim 4.63) (envelope-from <appanad@xilinx.com>) id 1akF3m-0007gO-Gk; Sun, 27 Mar 2016 11:05:10 -0700 Received: by xhd-lin64re117.xilinx.com (Postfix, from userid 13614) id AED7D20908; Sun, 27 Mar 2016 23:35:09 +0530 (IST) From: Kedareswara rao Appana <appana.durga.rao@xilinx.com> To: <dan.j.williams@intel.com>, <svemula@xilinx.com>, <anirudh@xilinx.com>, <vinod.koul@intel.com>, <michal.simek@xilinx.com>, <soren.brinkmann@xilinx.com>, <appanad@xilinx.com>, <moritz.fischer@ettus.com>, <laurent.pinchart@ideasonboard.com>, <luis@debethencourt.com> Subject: [PATCH v2 1/6] dmaengine: vdma: Fix checkpatch.pl warnings Date: Sun, 27 Mar 2016 23:35:05 +0530 Message-ID: <1459101907-9756-2-git-send-email-appanad@xilinx.com> X-Mailer: git-send-email 2.1.2 In-Reply-To: <1459101907-9756-1-git-send-email-appanad@xilinx.com> References: <1459101907-9756-1-git-send-email-appanad@xilinx.com> X-RCIS-Action: ALLOW X-TM-AS-Product-Ver: IMSS-7.1.0.1224-8.0.0.1202-22222.005 X-TM-AS-User-Approved-Sender: Yes;Yes X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:149.199.60.83; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(438002)(199003)(189002)(189998001)(42186005)(52956003)(63266004)(90966002)(5001770100001)(92566002)(45336002)(86362001)(6806005)(87936001)(2201001)(36756003)(106466001)(5003940100001)(46386002)(48376002)(76176999)(1096002)(1220700001)(47776003)(11100500001)(81166005)(5008740100001)(50466002)(103686003)(229853001)(586003)(33646002)(50986999)(4326007)(19580405001)(2906002)(2950100001)(50226001)(19580395003)(107986001)(921003)(83996005)(2101003)(1121003); DIR:OUT; SFP:1101; SCL:1; SRVR:BL2NAM02HT138; H:xsj-pvapsmtpgw01; FPR:; SPF:Pass; MLV:sfv; A:1; MX:1; LANG:en; MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: d9dbe262-e992-4aca-e9d5-08d3566a5a59 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(8251501002); SRVR:BL2NAM02HT138; X-Microsoft-Antispam-PRVS: <83be60447ae64f4381cbe1eddc0596bb@BL2NAM02HT138.eop-nam02.prod.protection.outlook.com> X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13024025)(13017025)(13023025)(13018025)(5005006)(13015025)(8121501046)(3002001)(10201501046); SRVR:BL2NAM02HT138; BCL:0; PCL:0; RULEID:; SRVR:BL2NAM02HT138; X-Forefront-PRVS: 089473E5FE X-OriginatorOrg: xilinx.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Mar 2016 18:05:16.9860 (UTC) X-MS-Exchange-CrossTenant-Id: 657af505-d5df-48d0-8300-c31994686c5c X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=657af505-d5df-48d0-8300-c31994686c5c; Ip=[149.199.60.83]; Helo=[xsj-pvapsmtpgw01] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2NAM02HT138 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160327_110540_554630_B2DEC1E1 X-CRM114-Status: GOOD ( 10.26 ) X-Spam-Score: -1.9 (-) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/dma/xilinx/xilinx_vdma.c b/drivers/dma/xilinx/xilinx_vdma.c index b873d98..3c5ce37 100644 --- a/drivers/dma/xilinx/xilinx_vdma.c +++ b/drivers/dma/xilinx/xilinx_vdma.c @@ -597,8 +597,6 @@ static void xilinx_vdma_halt(struct xilinx_vdma_chan *chan) chan, vdma_ctrl_read(chan, XILINX_VDMA_REG_DMASR)); chan->err = true; } - - return; } /** @@ -623,8 +621,6 @@ static void xilinx_vdma_start(struct xilinx_vdma_chan *chan) chan->err = true; } - - return; } /** @@ -874,6 +870,7 @@ static irqreturn_t xilinx_vdma_irq_handler(int irq, void *data) * make sure not to write to other error bits to 1. */ u32 errors = status & XILINX_VDMA_DMASR_ALL_ERR_MASK; + vdma_ctrl_write(chan, XILINX_VDMA_REG_DMASR, errors & XILINX_VDMA_DMASR_ERR_RECOVER_MASK);