mtd: spi-nor: aspeed: remove dummies from keep mask
authorCédric Le Goater <clg@kaod.org>
Thu, 20 Apr 2017 11:56:34 +0000 (13:56 +0200)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 20 Jun 2017 22:22:59 +0000 (00:22 +0200)
commita9f127bb5f92379ecb135a66bb89f8403e998d96
tree84f361dd5d15b143ed4c6f0dc874041605d0afab
parentd7c9ade2e31dbae4deaa8a5198107ecde4c56968
mtd: spi-nor: aspeed: remove dummies from keep mask

There is no need to keep the dummy bytes in the control register if
the command mode is not kept also. This could lead to an inconsistent
setting : normal read mode (command 0x3) and dummy bytes. It is to be
noted that the HW allows such a configuration.

Signed-off-by: Cédric Le Goater <clg@kaod.org>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
drivers/mtd/spi-nor/aspeed-smc.c