Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp1636166pxb; Mon, 23 Aug 2021 00:26:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwycQdF9XC8DlkEtIm6lTycV5pgWHFZ/RKtV3+/i44QxGFp6ohA5V8iy/hOTtoVmjhFQ46+ X-Received: by 2002:a17:906:2a8e:: with SMTP id l14mr33816326eje.321.1629703572754; Mon, 23 Aug 2021 00:26:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629703572; cv=none; d=google.com; s=arc-20160816; b=wif26pyRiLucGLydkSpr8KLIKk9Ph/mtrtLcE7yeqGwqXAtL22sMwwWNWYG5co2132 NcIYV/MCp9/las7j/kHkbTzeeqsuM+sTdUr2jXU/wWMIcqkmV6uGDTuOBM1rnlcl6JwP RdlnuXVTMcuvI0uvYWOU0/lBd5KwFMJoWTXVADg4qddRaij/gdT0UGQ6UteYbkfhcMID WCzL6C4O2BWfe1loccAw7NM7z2tyyq+ZAhQAu7E1kfqZGTbUpdQigDGOseN8KEbw182q hsLuKtyBhqLVGyyBZOyJ8RiR0Tc1V9kxaydGLu4Mo/By6ie40f9I2WRXXL+unZ3ocESA y5Sg== 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 :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=3J+vMWbMWLBa9Ch9FoblUuPL4gorRTUzEeVx2Oz0TcE=; b=SqvKfO5HlK/lQFE1qO23cKwc7Mu6UeAlYNxD4yKxt2US29FO//Ja8nV/RDu0tqYAsV bDaMnzcOysk2149r89MSHTiJGCz2zgEosYeYBnQneZJzfVZDRUxJvDiGN2wA+31viKp8 2KKg34Lg26/q0S2a4eVMTT8Ldkq8zVXVQ/hp/TwmKNUhHvDvKol3oaYSXkX+YFtjxDLv DRnNpKqgjsTqtVX5VFSSLvCByZMCQ0wyy1ifDxB6n8um3Anr6wBeUhTWa/CYhwWOclQw 4cHDJiEtdkl94vrd/N9/HdlrD8jquBY8rNqI8BUQT1Wuq6dEZt8yaaXEunKMaFpLSwNT IQdg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m12si13759066ejg.274.2021.08.23.00.25.49; Mon, 23 Aug 2021 00:26:12 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234999AbhHWHYv convert rfc822-to-8bit (ORCPT + 99 others); Mon, 23 Aug 2021 03:24:51 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:49583 "EHLO relay2-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234861AbhHWHYv (ORCPT ); Mon, 23 Aug 2021 03:24:51 -0400 Received: (Authenticated sender: miquel.raynal@bootlin.com) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 0B84440002; Mon, 23 Aug 2021 07:24:05 +0000 (UTC) Date: Mon, 23 Aug 2021 09:24:04 +0200 From: Miquel Raynal To: Boris Brezillon Cc: Apurva Nandan , Richard Weinberger , Vignesh Raghavendra , Mark Brown , Patrice Chotard , , , , Pratyush Yadav Subject: Re: [PATCH 03/13] mtd: spinand: Setup spi_mem_op for the SPI IO protocol using reg_proto Message-ID: <20210823092404.0a9b68e4@xps13> In-Reply-To: <20210823091145.0fd471ef@collabora.com> References: <20210713130538.646-1-a-nandan@ti.com> <20210713130538.646-4-a-nandan@ti.com> <20210806203013.30a41fd5@xps13> <3de32033-2a6e-bc46-a65a-4027ce78c6d6@ti.com> <20210820140840.4bbcac7e@xps13> <20210823091145.0fd471ef@collabora.com> Organization: Bootlin X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) 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 Hi Boris, Boris Brezillon wrote on Mon, 23 Aug 2021 09:11:45 +0200: > On Fri, 20 Aug 2021 14:08:40 +0200 > Miquel Raynal wrote: > > > Hi Apurva, > > > > Boris, you might have a good idea for the naming discussed below? > > {patch,adjust,tweak}_op() all sound good to me. This being said, I'm > a bit concerned about doing this op tweaking in the hot-path. > Looks like something that should be done at probe or when switching to > 8D mode, and kept around. The alternative would be to have per-mode op > tables, which I think would be clearer. True! Thanks for the idea! Cheers, Miquèl