Message ID | 1460549222-24198-3-git-send-email-zajec5@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show
Return-Path: <linux-samsung-soc-owner@kernel.org> X-Original-To: patchwork-linux-samsung-soc@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 2E6B09F36E for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Wed, 13 Apr 2016 12:11:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 35FE9201F5 for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Wed, 13 Apr 2016 12:11:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5B81B202FE for <patchwork-linux-samsung-soc@patchwork.kernel.org>; Wed, 13 Apr 2016 12:11:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756002AbcDMMIV (ORCPT <rfc822;patchwork-linux-samsung-soc@patchwork.kernel.org>); Wed, 13 Apr 2016 08:08:21 -0400 Received: from mail-lf0-f51.google.com ([209.85.215.51]:33907 "EHLO mail-lf0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757498AbcDMMIT (ORCPT <rfc822;linux-samsung-soc@vger.kernel.org>); Wed, 13 Apr 2016 08:08:19 -0400 Received: by mail-lf0-f51.google.com with SMTP id j11so66337629lfb.1; Wed, 13 Apr 2016 05:08:18 -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=Koj1UYcQRqoIt5qXV7U5npy/65gMQq+ZNfTo+9HWKBzTZ4JO3G/rTuUBX//x2/viz4 umPqVql8KP0poBwecHOxXBkA5GDczKnRD5LO89z88JaASWylX1F97/Rj8y1eq7WBLQdT ZfJB3eVGHnENzNb5jquVBtwe3krStHrzFVb/hc+NmjJO7cW/dyXAqnRqiSDZ6TaACWq4 BPhQ572RJFLR3mhR6TEvFafJ9pkc7EbYCQ+0qhP5KBs7Sf3feMzHYHr3LxgsVj+bFblf 3xu6XpjvPe3nF7fRCWLKQyjZX6RPXxeUrc3FqW/XSgeo7nTnvD69faheLJkNgiv0mL3A khAg== X-Gm-Message-State: AOPr4FV2aGny8OORbLfpTJ0Qzeh34D7iCdOdp/sfV8Unu7lMOFx9HovpvaD02bBrhQml8Q== 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?= <zajec5@gmail.com> To: Boris Brezillon <boris.brezillon@free-electrons.com> Cc: linux-mtd@lists.infradead.org, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>, Kukjin Kim <kgene@kernel.org>, Krzysztof Kozlowski <k.kozlowski@samsung.com>, Richard Weinberger <richard@nod.at>, David Woodhouse <dwmw2@infradead.org>, Brian Norris <computersforpeace@gmail.com>, linux-arm-kernel@lists.infradead.org (moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES), linux-samsung-soc@vger.kernel.org (moderated list:ARM/SAMSUNG EXYNOS ARM ARCHITECTURES), linux-kernel@vger.kernel.org (open list) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: <linux-samsung-soc.vger.kernel.org> X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 |
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)
This is part of process deprecating NAND_ECC_SOFT_BCH (and switching to enum nand_ecc_algo). Signed-off-by: Rafa? Mi?ecki <zajec5@gmail.com> --- drivers/mtd/nand/s3c2410.c | 1 + 1 file changed, 1 insertion(+)