mtd: spi: sf_dataflash: Add print message while erase error
authorWenyou.Yang@microchip.com <Wenyou.Yang@microchip.com>
Fri, 21 Jul 2017 05:26:09 +0000 (13:26 +0800)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 8 Aug 2017 07:04:27 +0000 (12:34 +0530)
commit8fc2faefdd8bd950fa6ef615ab63f8ec3b6de7e5
tree6fa167707889c0b797a880f3929dc0607758c583
parentac6777b1e3362a4958562a3b4315f39db75685f3
mtd: spi: sf_dataflash: Add print message while erase error

Add the print message to tell us why the erase operation doesn't work.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/mtd/spi/sf_dataflash.c