From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga18.intel.com ([134.134.136.126]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1g1p6b-0005ul-Gh for linux-mtd@lists.infradead.org; Mon, 17 Sep 2018 08:42:07 +0000 Subject: Re: [PATCH v2] mtd: spi-nor: Use DMA-safe buffer for JEDEC ID in spi_nor_read_id() To: Boris Brezillon Cc: Marek Vasut , Brian Norris , linux-mtd@lists.infradead.org, David Woodhouse , Richard Weinberger References: <20180917081018.14475-1-jarkko.nikula@linux.intel.com> <20180917101851.3d359d18@bbrezillon> <20180917102821.16c69697@bbrezillon> From: Jarkko Nikula Message-ID: <08b87712-b018-e448-21b5-aa7c3c7b82cc@linux.intel.com> Date: Mon, 17 Sep 2018 11:41:31 +0300 MIME-Version: 1.0 In-Reply-To: <20180917102821.16c69697@bbrezillon> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 09/17/2018 11:28 AM, Boris Brezillon wrote: > > Hm, I just had a look at all ->read/write_reg() call sites and it seems > we have the same problem in other places. Maybe it's just better to fix > the problem in m25p80 ->read/write_reg() implems for now and see how we > can fix that generically afterwards. > It's not only m25p80, how about all other cases calling spi_nor_scan()? -- Jarkko