From patchwork Wed Dec 10 08:00:36 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Asaf Vertz X-Patchwork-Id: 5467081 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id B4C2FBEEA8 for ; Wed, 10 Dec 2014 08:00:44 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9F2BB2015A for ; Wed, 10 Dec 2014 08:00:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3F74F2012B for ; Wed, 10 Dec 2014 08:00:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754188AbaLJIAm (ORCPT ); Wed, 10 Dec 2014 03:00:42 -0500 Received: from mail-wg0-f48.google.com ([74.125.82.48]:45461 "EHLO mail-wg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753766AbaLJIAl (ORCPT ); Wed, 10 Dec 2014 03:00:41 -0500 Received: by mail-wg0-f48.google.com with SMTP id y19so2853589wgg.21 for ; Wed, 10 Dec 2014 00:00:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-type:content-disposition:user-agent; bh=EIrIs7wGw8C4jWPu438Xd27+69hWY1IXf3v4PB09IAg=; b=M2xyO6gp/Heep+T9VANOiC01AgusgjuGZ+l8D6pSdHd0w54JDENoznIedim1iOElHY g2hbH8I9XrEWSQuThzmvOXI85enfZYWNAvZdWzpTcYn/vLU9NIYP3uwvnEyooHvRt24b GYQHBWCkn8F7Y8mqeP4gIXOFS23Hf0Ht84+FFyay3mZpuTF7xlmYZkiSw3HNZ7/DJJef ePkgD5wePTC8D+0zSGPCc2VRUJarLjfEaU5PGnEktwFgx1a710Ihb/LHkvRNKU/WU/DO KRZCCgPV/l048wZYlKzIIiy+XNO6ScSe6TN0k0O24yNqO5A4OlWaVay4oGNb/d4F28B7 avEw== X-Gm-Message-State: ALoCoQljebXOkCedB/Emopic2BVAHeAoTr7Jehwr0u8JjKTdm7KnLnXGp/Gs1mZMNQV9ggozgdJY X-Received: by 10.180.88.165 with SMTP id bh5mr10850105wib.77.1418198439959; Wed, 10 Dec 2014 00:00:39 -0800 (PST) Received: from localhost (82.166.131.121.fix.netvision.net.il. [82.166.131.121]) by mx.google.com with ESMTPSA id fq1sm16869888wib.12.2014.12.10.00.00.38 for (version=TLSv1.1 cipher=RC4-SHA bits=128/128); Wed, 10 Dec 2014 00:00:39 -0800 (PST) Date: Wed, 10 Dec 2014 10:00:36 +0200 From: Asaf Vertz To: vinod.koul@intel.com Cc: dan.j.williams@intel.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dma: imx-sdma: fix indentation Message-ID: <20141210080035.GA25812@ubuntu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham 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 Fixed a coding style error, switch and case should be at the same indent Signed-off-by: Asaf Vertz --- drivers/dma/imx-sdma.c | 18 +++++++++--------- 1 files changed, 9 insertions(+), 9 deletions(-) diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c index 88afc48..8729877 100644 --- a/drivers/dma/imx-sdma.c +++ b/drivers/dma/imx-sdma.c @@ -1301,15 +1301,15 @@ static void sdma_load_firmware(const struct firmware *fw, void *context) if (header->ram_code_start + header->ram_code_size > fw->size) goto err_firmware; switch (header->version_major) { - case 1: - sdma->script_number = SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V1; - break; - case 2: - sdma->script_number = SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V2; - break; - default: - dev_err(sdma->dev, "unknown firmware version\n"); - goto err_firmware; + case 1: + sdma->script_number = SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V1; + break; + case 2: + sdma->script_number = SDMA_SCRIPT_ADDRS_ARRAY_SIZE_V2; + break; + default: + dev_err(sdma->dev, "unknown firmware version\n"); + goto err_firmware; } addr = (void *)header + header->script_addrs_start;