From patchwork Wed Sep 13 05:20:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 112399 Delivered-To: patch@linaro.org Received: by 10.140.106.117 with SMTP id d108csp534506qgf; Tue, 12 Sep 2017 22:22:23 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6Mzhzccr0Le7zja7UK+RZPy2J8tbcSaMd+AVTyNMlhfWA98nYAbAOu+213fqeKVXJbdB47 X-Received: by 10.99.149.84 with SMTP id t20mr17642689pgn.222.1505280143473; Tue, 12 Sep 2017 22:22:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1505280143; cv=none; d=google.com; s=arc-20160816; b=w284NaEGyGq03FM756YYoyi+5pBFVK2OiGpy3OfrueAnpTK25NuDAqILPfsWA+yMSj ycqYUhA3z6vXo7XG1DU1A03KDR+jckNjzynKpJ9mzh0bfNb14V7z4C/LFr4PvZMHPfIE FnegfAzpGQ23ANaW0OYEf4Sye9ur3hdX1/SQnoLi0G6V8dtCdWGECPgWtnc/KoyAK8PN r90OjmuWqMVcprVXVto/drnL2bGPAu2zZklk/oZOrrlz+/9pPqiPZrF4LzKGRohIp8vT Gg/lW9J2wGIZQsRKstHA/oHZcJLX3RjxtQeITHgyldKn0qq5xNZGOfIalK37N604/EFv 9IaQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:message-id:date:subject:to:from:dkim-signature :dkim-filter:dkim-signature:arc-authentication-results; bh=fKPt+n7HwwY6eQ1Zv6bClueTwTcO8fV9iHNJdkDzR7g=; b=mtf/0aoamBf9N8pmGvMgyejS2/y03naR3uNsqIk0RoYbm3Eq6NLgc09uLLSEE1zf5t zaRr6srCyyWuJesdCeZtHc1kj6AWLrzZfwnWnLMRzOWiXlTLzTIbs+jpeCDs8ik72P0j zhhJNhAzB/SnzlLCSWXdYApwEaGCrTA3DxvcgF4ZaV+Kkb9zoqn5IqlW4hhakIxJRl1o BJzfEwiMraon6Ycy3fJIebevi8bCuXxJGt/3LdBuWh6lneVEnauSKVz2R2ssV+O4d5EE y6ltIDb3GTUQyiTVmCmcrfPTRYe30jjHBGf5R4EtxPLbNVCUBCsuE0dTupqyc+voG6sn i87w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=RXF6eNjX; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=WFFAz2OB; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id f8si8372794pgs.122.2017.09.12.22.22.23 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Sep 2017 22:22:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; dkim=pass header.i=@lists.infradead.org header.s=bombadil.20170209 header.b=RXF6eNjX; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=WFFAz2OB; spf=pass (google.com: best guess record for domain of linux-mtd-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-mtd-bounces+patch=linaro.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=fKPt+n7HwwY6eQ1Zv6bClueTwTcO8fV9iHNJdkDzR7g=; b=RXF 6eNjXD7xv45lMxpnUE4U+APmD8z47PviN/RkbYxrbluqW8G+iHIhbWletO1d31XJ6CqQV8pZufh3r N+oQaTta6Al+b1s49wVXyKjHxv4wiy8Q2SAM2Ek84TBj7/xj/4yA/5HA/oKel0ZMgRRCn689cvIG3 NKDS5BG2ei2Ko3kqny+vzQbr+hjjW2tNdsRyxbiVcM8/hYxNibI0Z828FQLeetVRx8H7FHQU96qA0 2jGSQYmzB7tgKIxMr8YCpKZbBXKTpS93qTCi+rtl83FMP+0KAJ5Oqk0dyGXIn71tz9xuOHODGel0n /tkARsKv1xcndzJBpjUkcRRzgKBJhRQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ds07p-0006uJ-Pf; Wed, 13 Sep 2017 05:22:13 +0000 Received: from conuserg-12.nifty.com ([210.131.2.79]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ds07J-0006Xo-NK for linux-mtd@lists.infradead.org; Wed, 13 Sep 2017 05:21:44 +0000 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-12.nifty.com with ESMTP id v8D5Kpwx010397; Wed, 13 Sep 2017 14:20:51 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-12.nifty.com v8D5Kpwx010397 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1505280052; bh=igwOhOLcPidwkN6TTgAxr0YZ+POeXGROEqX1fmRHAxk=; h=From:To:Cc:Subject:Date:From; b=WFFAz2OBMUPWkXtZcJGySLnojbQ+YLtXSTMm2hrdutVya5tHkqcI/6uGc76pnJ2TJ JnJzngdyle963xj+Xo9CwpOMW6rpSon79BDi194BNWVEGlJ3TbvYzbWJRxOupf7wCc aoJ6FhsPWVBXkDDv4E2dtHcZXIn1hCA2+aWBsJL4RM/w0xhzTjXp9S5GyQ5oC4We1L NlspnNkxvzlsiDn/+nXTW+NPxmLDIWoDFFTmWj41D0Cu3qt5zXtVcarQqzFerD8/+E W6Qi2qSj6TmdNANvzSVOMRZ1NBuUKEQ+lv4h2lOSdOTWZCqJQJebX7WQnv9xgN2q1z aVb3VlfNCS6ag== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-mtd@lists.infradead.org Subject: [PATCH 0/9] mtd: nand: denali: more clean-ups Date: Wed, 13 Sep 2017 14:20:37 +0900 Message-Id: <1505280046-16608-1-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170912_222142_254341_8C1D0313 X-CRM114-Status: UNSURE ( 6.61 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -1.2 (-) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-1.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- 0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid X-BeenThere: linux-mtd@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Boris Brezillon , Marek Vasut , Richard Weinberger , linux-kernel@vger.kernel.org, Masahiro Yamada , Cyrille Pitchen , Brian Norris , David Woodhouse MIME-Version: 1.0 Sender: "linux-mtd" Errors-To: linux-mtd-bounces+patch=linaro.org@lists.infradead.org This series make the Denali driver even cleaner and more correct. The last patch may cause a conflict unless http://patchwork.ozlabs.org/patch/813125/ is applied first. Masahiro Yamada (9): mtd: nand: denali: squash setup_ecc_for_xfer() helper into caller mtd: nand: denali: prefix detect_max_banks() with denali_ mtd: nand: denali: consolidate include directives mtd: nand: denali: squash denali_enable_dma() helper into caller mtd: nand: denali: slight clean up of denali_wait_for_irq() mtd: nand: denali: clean up macros with mtd: nand: denali: use more FIELD_PREP / FIELD_GET where appropriate mtd: nand: denali: clean up comments mtd: nand: denali: remove unneeded init of ECC_ENABLE register drivers/mtd/nand/denali.c | 153 ++++++++++++------------------------------ drivers/mtd/nand/denali.h | 23 +++---- drivers/mtd/nand/denali_dt.c | 4 +- drivers/mtd/nand/denali_pci.c | 5 +- 4 files changed, 57 insertions(+), 128 deletions(-) -- 2.7.4 ______________________________________________________ Linux MTD discussion mailing list http://lists.infradead.org/mailman/listinfo/linux-mtd/