mtd: spi-nor: Remove recently added set_4byte() call
Remove undocumented set_4byte() call. This was added in commit5d40b3d384
("mtd: spi-nor: Add parallel and stacked memories support") without any explanation in the commit message. Remove it. Fixes:5d40b3d384
("mtd: spi-nor: Add parallel and stacked memories support") Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>
This commit is contained in:
@@ -4593,7 +4593,6 @@ int spi_nor_scan(struct spi_nor *nor)
|
||||
#else
|
||||
/* Configure the BAR - discover bank cmds and read current bank */
|
||||
nor->addr_width = 3;
|
||||
set_4byte(nor, info, 0);
|
||||
ret = read_bar(nor, info);
|
||||
if (ret < 0)
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user