mtd: mtd_dataflash: Don't print bogus command values for READs
Call to dev_dbg in dataflash_read() is located to early, before
command[] is initialize to correct values, so it end up printing
values from previous invocation. Move it such that it prints current
call's values.

Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 29e9cd1 commit 0ca998a69bb3f889141aad1872ff0fb53979605a
@Andrey Smirnov Andrey Smirnov authored on 28 Jun 2018
Sascha Hauer committed on 2 Jul 2018
Showing 1 changed file
View
drivers/mtd/devices/mtd_dataflash.c