From patchwork Wed Apr 13 12:06:55 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 8822071 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 401759F71A for ; Wed, 13 Apr 2016 12:10:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 608C72034F for ; Wed, 13 Apr 2016 12:10:52 +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 50B87201FA for ; Wed, 13 Apr 2016 12:10:51 +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 1aqJbW-00037n-UA; Wed, 13 Apr 2016 12:09:06 +0000 Received: from mail-lf0-x22d.google.com ([2a00:1450:4010:c07::22d]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1aqJb5-0002Jp-Mb; Wed, 13 Apr 2016 12:08:43 +0000 Received: by mail-lf0-x22d.google.com with SMTP id c126so66456584lfb.2; Wed, 13 Apr 2016 05:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=7XOjXbj1zwjqqTXthYoDccIFm3zDR63DDJ0jhCZ1/kc=; b=kViKW67ovnBcv4VBXJ91s7bwU8EoI6YZxEQ3S3rqnKZ/+JxcG9c6WPQSF0ZJDDyBDO X6oVdYk4Bd4I3meNN+jo/AYO0FJa6cVxz301UbrlWvTawjy1BCV3BAtDupkwFgsaIUVZ rCHWDJkWwdrkpew0r988A2u4ccVc72tv4jyG7x680gshPSeW9Cq3A+Vv9bylVffN10qw HOs9Zu3BdfwT+1g9n1Ys5JN+s1PAq6lD0La7fWxr62yhB682//yFpvF7PPVttR8PEYhR mlO7qzbWlAsgk3DQYzIWRgKsMu9YLcLZUq+zBqhM4XVuHJ2/p/cZu5xYMMnLaFX4sk51 6Caw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=7XOjXbj1zwjqqTXthYoDccIFm3zDR63DDJ0jhCZ1/kc=; b=Z5rIKSsK67J6kZAP06mZTJYA5b6QJBgz3azRiUFnICV4VqDPqtpVSajht5OZSVsQbC QSUkmMLxDzPiVlUV3rsztcOtOP12dtIGdTKmWiag4j/1ORLLPOlScarwdmkW86t+nXAS 7x1cNg3q9KkosW/ynxDXEJ6OIIMbJNCXzxE/AeVkrLmz/LwBqcyJpB7zL4PUuHqVY8Bm jSrxmO/a15A6ORww+5eHt1evzxwUjRU2z3r0VpJoVFQYtnHCy/jj/pIs4GPKxglC7lV5 dABQubZBWwjnHIxdjQnEjV/1uUWpyW6/ukhNQSPb0aa5KPCdGGhU7Smz6T9V9eMPtiIT eC1Q== X-Gm-Message-State: AOPr4FUZUEKSbx3rHHdbIIfOmFsHlcPDegtO1mr58he/tstD0OLYc9DH8PXXf6lZJ9JyAA== X-Received: by 10.25.86.144 with SMTP id k138mr2290906lfb.6.1460549297727; Wed, 13 Apr 2016 05:08:17 -0700 (PDT) Received: from linux-samsung.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id p195sm6200525lfd.11.2016.04.13.05.08.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 13 Apr 2016 05:08:16 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Boris Brezillon Subject: [PATCH 2/9] mtd: nand: s3c2410: set ECC algorithm explicitly Date: Wed, 13 Apr 2016 14:06:55 +0200 Message-Id: <1460549222-24198-3-git-send-email-zajec5@gmail.com> X-Mailer: git-send-email 1.8.4.5 In-Reply-To: <1460549222-24198-1-git-send-email-zajec5@gmail.com> References: <1460549222-24198-1-git-send-email-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160413_050840_309146_04D8674F X-CRM114-Status: GOOD ( 11.35 ) X-Spam-Score: -2.5 (--) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Krzysztof Kozlowski , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" , Richard Weinberger , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , open list , Kukjin Kim , linux-mtd@lists.infradead.org, Brian Norris , David Woodhouse , "moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to enum nand_ecc_algo). Signed-off-by: Rafa? Mi?ecki --- drivers/mtd/nand/s3c2410.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 86ffb73..6e72679 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c @@ -860,6 +860,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info, } #else chip->ecc.mode = NAND_ECC_SOFT; + chip->ecc.algo = NAND_ECC_HAMMING; #endif if (set->disable_ecc)