[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <736b881c4dd3d0fb0522ab0d385798f5@walle.cc>
Date: Tue, 18 Apr 2023 11:29:45 +0200
From: Michael Walle <michael@...le.cc>
To: Tudor Ambarus <tudor.ambarus@...aro.org>
Cc: tkuw584924@...il.com, Takahiro.Kuwano@...ineon.com,
pratyush@...nel.org, bacem.daassi@...ineon.com,
miquel.raynal@...tlin.com, richard@....at,
linux-mtd@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mtd: spi-nor: spansion: Rename method to
cypress_nor_get_page_size
Am 2023-04-05 08:04, schrieb Tudor Ambarus:
> The method queries SPINOR_REG_CYPRESS_CFR3V to determine the page size.
> Rename the method accordingly, s/set/get.
I'm not sure about this one. There is also a
cypress_nor_set_addr_mode_nbytes() which queries the flash and
set the params->addr_nbytes and params->addr_mode_nbytes.
cypress_nor_set_page_size() also queries the flash and set
params->page_size.
Secondly, if this function is called get_page_size() I'd assume it
doesn't modify anything. But thats not true.
-michael
Powered by blists - more mailing lists