From patchwork Mon Nov 5 10:36:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Piotr Bugalski X-Patchwork-Id: 10667727 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E09B313A4 for ; Mon, 5 Nov 2018 10:37:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CF86429167 for ; Mon, 5 Nov 2018 10:37:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C3EB72973A; Mon, 5 Nov 2018 10:37:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6F3BA29167 for ; Mon, 5 Nov 2018 10:37:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729015AbeKET4K (ORCPT ); Mon, 5 Nov 2018 14:56:10 -0500 Received: from mail-lj1-f193.google.com ([209.85.208.193]:34686 "EHLO mail-lj1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728961AbeKET4J (ORCPT ); Mon, 5 Nov 2018 14:56:09 -0500 Received: by mail-lj1-f193.google.com with SMTP id u6-v6so7551969ljd.1; Mon, 05 Nov 2018 02:37:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=qaZQEoMW2c8ekIzYdfknMh8zhDWr1ixwxJ5V8tHMJDA=; b=CEa+lTEf69oXfbo/KY0Wi04vDhT/9bHb7gDs++7sRu3v9FlONhxL/LTDjwINgHfPs7 Oq/kWqUf53MW4Oe7JQqVtdvDF/ZnqOYryQwyOggdKVgQZ38ozAmu5Mt0FFtTrJ5p+034 sOiLsirqjZH7IHWV2VfEzVhhu9ZMNxVJzKeaEb7zkoK3PWDgVx9L2u+PtFG/vCXKtlt5 Qg1R/6/rRK33lea5EGwS81MXRjWN+cevxBXjqfnQl1Rej/Qmd6+FfhVbRvJed/StfzHS iQVB4MYctAuvz/7mlJY7CtqbpueV3djqbXBhDX0JsPEXx/ln4vGlOUsJ0tFi/aAfwNEw E+hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=qaZQEoMW2c8ekIzYdfknMh8zhDWr1ixwxJ5V8tHMJDA=; b=CMgxjiIQZHuy47/S7ohJDXTmXCpGhwMyAml7Sb1uPGR0bXCeTodL7YUkb0nGbFYCVg YUese3XGwcTUAfdRS5P0uQoQxHr2Iul8SD8d0tWgNN4ILlO4vLJm9DMpfKYJsWvPD0t4 A2dH4GJ2tVP1WYd0GO2rc0XT+brq1HaCglilHGzNZVBJqCRyam51giZEWnr03fnwfUdc qRAah+SZQ3xEkVHOya12tlrw/ScfQ4Vvmzin5MLzzLEJUr0Fpflo3Dbz9+hoAIJVWpTJ z+sj80h871+MhUCwhoSZW1BVZnVAoeGp437QtNqUV6bwNQvEyyunpSmfxfhRmj6P7fo3 tdpw== X-Gm-Message-State: AGRZ1gJj9Nqi3JemqpZ9qTdsLdCgMVJF6WmXfemgYpQ1oPqjfVvIcw1F 3eG37Ty/npS91Ci+9tk9Ew== X-Google-Smtp-Source: AJdET5fg+jXX66gG0ldzsayPLBD4EkoOzUKW4Pk07QRA/qTAKRebqfnt3xdtlXsFPYjIi/nDRyZcFA== X-Received: by 2002:a2e:8546:: with SMTP id u6-v6mr1062576ljj.95.1541414224890; Mon, 05 Nov 2018 02:37:04 -0800 (PST) Received: from localhost.localdomain (89-64-7-227.dynamic.chello.pl. [89.64.7.227]) by smtp.gmail.com with ESMTPSA id h140-v6sm5413605lfg.4.2018.11.05.02.37.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 02:37:04 -0800 (PST) From: Piotr Bugalski To: Mark Brown , linux-spi@vger.kernel.org, David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger , linux-mtd@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Cc: Rob Herring , Mark Rutland , Nicolas Ferre , Alexandre Belloni , Cyrille Pitchen , Tudor Ambarus , Piotr Bugalski Subject: [PATCH v3 1/6] mtd: spi-nor: atmel-quaspi: Typo fix Date: Mon, 5 Nov 2018 11:36:20 +0100 Message-Id: <20181105103625.9644-2-bugalski.piotr@gmail.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20181105103625.9644-1-bugalski.piotr@gmail.com> References: <20181105103625.9644-1-bugalski.piotr@gmail.com> Sender: linux-spi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-spi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Just minor typo fix. Fixed in preparation of new driver. Signed-off: Piotr Bugalski --- drivers/mtd/spi-nor/atmel-quadspi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi-nor/atmel-quadspi.c b/drivers/mtd/spi-nor/atmel-quadspi.c index 820048726b4f..1c5ba8feaa5e 100644 --- a/drivers/mtd/spi-nor/atmel-quadspi.c +++ b/drivers/mtd/spi-nor/atmel-quadspi.c @@ -67,7 +67,7 @@ #define QSPI_CR_LASTXFER BIT(24) /* Bitfields in QSPI_MR (Mode Register) */ -#define QSPI_MR_SSM BIT(0) +#define QSPI_MR_SMM BIT(0) #define QSPI_MR_LLB BIT(1) #define QSPI_MR_WDRBT BIT(2) #define QSPI_MR_SMRM BIT(3) @@ -563,7 +563,7 @@ static int atmel_qspi_init(struct atmel_qspi *aq) qspi_writel(aq, QSPI_CR, QSPI_CR_SWRST); /* Set the QSPI controller in Serial Memory Mode */ - mr = QSPI_MR_NBBITS(8) | QSPI_MR_SSM; + mr = QSPI_MR_NBBITS(8) | QSPI_MR_SMM; qspi_writel(aq, QSPI_MR, mr); src_rate = clk_get_rate(aq->clk);