Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp279500pxx; Wed, 28 Oct 2020 04:53:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxy5B4WM1psD90V2QJ5XgBHX2T1Ie3Sccj8gig4t7MOiTYZircdrA1TkJ2FybnoSp1KbzjY X-Received: by 2002:a50:9ec6:: with SMTP id a64mr7068083edf.382.1603885995198; Wed, 28 Oct 2020 04:53:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603885995; cv=none; d=google.com; s=arc-20160816; b=eSLDd2CMDvWDVq8hJZPXW1pElZR4STeTyALepR/8XX6gdamfJ24hV7/4055tfcxw1m TieXUk5wEQVm5uY1v/u6ynwxFiRb/31MaDO5uQVMDDMhBTZkQRjoh76sR9No0Y56tGLM cJ0/KJ5aUuW/6aYx3FNJKFthHLzJF5oEoEwHsNw+sitDFzmSrZgDgco1GuiiDJLdE661 AqbtYii34Z+Ooz7TV4ZUzEaxrrNUrsH1BmJpXLRieZ2rz2Eo40kCrPs4GhvX8fNRnWIb 0H4k+6TukqmfLEhAJ+8yr1OCFo8Eb9jWy7iJiJ2DOxHrDoGG0qkWnZiHq1hJx+GN9Qyn ahkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=PlC5Tx4aiIrqFwMEc3ec7m+OViqkKh7k7x9Z5IZMSbs=; b=kDbFivDSi3Tr2TQCkUP7m4yAy6kJLW8SXMvphAMj4ogQ+TGMZw5vvF9GXSDujgWMpr Jy38dO9QJ6pUKlALBv7+CbN+AWPu7XWTmUIt747CnKxceSoSdP46kDp3gvfQDTVtVLEM D8YBm6X8Tzf3wczlQotk6wYrgzT2ftzTLqKtjQiyAh9QnHu+jb1Qz1elwiRTlIm+MZgQ NGJ7r8jE/8+umw+e2Sqvm7vaalxU2Xhl8b332wdK2jJAwjyvXJhCJp8zQumJjsjpHDc5 Vvk8S6g+X7Wc1sSvIoJuT4ABcyXX/MezDhgg8HFW65G3yUX67fcJCT+g3XTk18zggy3V UNeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xALiN2ao; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a42si3838927edf.535.2020.10.28.04.52.52; Wed, 28 Oct 2020 04:53:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=xALiN2ao; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1794655AbgJ0PMx (ORCPT + 99 others); Tue, 27 Oct 2020 11:12:53 -0400 Received: from mail.kernel.org ([198.145.29.99]:40144 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1791008AbgJ0PFt (ORCPT ); Tue, 27 Oct 2020 11:05:49 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B23D122283; Tue, 27 Oct 2020 15:05:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811149; bh=Zi/6Agu3AptgIO7mIFylc82hjZYgqO06v7ajIwnqxLA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=xALiN2aoyxbRuHlorJiNbiD9Wi/7r32FrACCFVhSSVnz/4vmTB5Y3ecNPoR5N8rmv gKNIQzoXAblRWBwePgHHvN7VBZg7oBQ63b3U78wKZAwTZ2lU4R5vOP0qA/fHY9zgWS IjqRv6ItdBboJmB4nH5EkCcNOAaGOLzPOh5W3Yf8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Hauke Mehrtens , Chuanhong Guo , Miquel Raynal , Sasha Levin Subject: [PATCH 5.8 391/633] mtd: spinand: gigadevice: Only one dummy byte in QUADIO Date: Tue, 27 Oct 2020 14:52:14 +0100 Message-Id: <20201027135541.045443926@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hauke Mehrtens [ Upstream commit 6387ad9caf8f09747a8569e5876086b72ee9382c ] The datasheet only lists one dummy byte in the 0xEH operation for the following chips: * GD5F1GQ4xExxG * GD5F1GQ4xFxxG * GD5F1GQ4UAYIG * GD5F4GQ4UAYIG Fixes: c93c613214ac ("mtd: spinand: add support for GigaDevice GD5FxGQ4xA") Signed-off-by: Hauke Mehrtens Tested-by: Chuanhong Guo Signed-off-by: Miquel Raynal Link: https://lore.kernel.org/linux-mtd/20200820165121.3192-2-hauke@hauke-m.de Signed-off-by: Sasha Levin --- drivers/mtd/nand/spi/gigadevice.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nand/spi/gigadevice.c b/drivers/mtd/nand/spi/gigadevice.c index d219c970042a2..679d3c43e15aa 100644 --- a/drivers/mtd/nand/spi/gigadevice.c +++ b/drivers/mtd/nand/spi/gigadevice.c @@ -21,7 +21,7 @@ #define GD5FXGQ4UXFXXG_STATUS_ECC_UNCOR_ERROR (7 << 4) static SPINAND_OP_VARIANTS(read_cache_variants, - SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 2, NULL, 0), + SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 1, NULL, 0), SPINAND_PAGE_READ_FROM_CACHE_X4_OP(0, 1, NULL, 0), SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(0, 1, NULL, 0), SPINAND_PAGE_READ_FROM_CACHE_X2_OP(0, 1, NULL, 0), @@ -29,7 +29,7 @@ static SPINAND_OP_VARIANTS(read_cache_variants, SPINAND_PAGE_READ_FROM_CACHE_OP(false, 0, 1, NULL, 0)); static SPINAND_OP_VARIANTS(read_cache_variants_f, - SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 2, NULL, 0), + SPINAND_PAGE_READ_FROM_CACHE_QUADIO_OP(0, 1, NULL, 0), SPINAND_PAGE_READ_FROM_CACHE_X4_OP_3A(0, 1, NULL, 0), SPINAND_PAGE_READ_FROM_CACHE_DUALIO_OP(0, 1, NULL, 0), SPINAND_PAGE_READ_FROM_CACHE_X2_OP_3A(0, 1, NULL, 0), -- 2.25.1