mtd: mtk-nor: adjust sequence of trigger function and assignment function
authorBayi Cheng <bayi.cheng@mediatek.com>
Fri, 18 Dec 2015 03:02:40 +0000 (11:02 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 18 Dec 2015 23:05:43 +0000 (15:05 -0800)
commit80e1ca692107b0bc5b088fd9c4a20726fb1a66a2
tree42e56fd9f61de8f5d21b3e71691dd4d23d462872
parent8142b47ef33c655a34e08efd46b65732fe190675
mtd: mtk-nor: adjust sequence of trigger function and assignment function

Move write data register before excute command to avoid
missing first byte write to nor flash

Signed-off-by: Bayi Cheng <bayi.cheng@mediatek.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/spi-nor/mtk-quadspi.c