Commit 8758888c authored by Tudor Ambarus's avatar Tudor Ambarus
Browse files

mtd: spi-nor: core: Add vdbg msg for spi_nor_erase_multi_sectors()

parent 786a0a75
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1610,6 +1610,9 @@ static int spi_nor_erase_multi_sectors(struct spi_nor *nor, u64 addr, u32 len)
	list_for_each_entry_safe(cmd, next, &erase_list, list) {
		nor->erase_opcode = cmd->opcode;
		while (cmd->count) {
			dev_vdbg(nor->dev, "erase_cmd->size = 0x%08x, erase_cmd->opcode = 0x%02x, erase_cmd->count = %u\n",
				 cmd->size, cmd->opcode, cmd->count);

			ret = spi_nor_write_enable(nor);
			if (ret)
				goto destroy_erase_cmd_list;