sf: Read back and check once macronix quad bit set
authorJagan Teki <jteki@openedev.com>
Tue, 15 Dec 2015 07:12:02 +0000 (12:42 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:26 +0000 (18:47 +0530)
commitbfcdc3956d2cf4fb692b8ccbdafd56d0b4b11b2d
treeb1120bc9c3abf3940d9e6a2e08da8d953147688e
parentffecb0fc840707d7aadf42364ae596f998a3d52f
sf: Read back and check once macronix quad bit set

One macronix quad bit set using SR, it's good to
read back and check the written bit and also if
it's already been set check for the bit and return.

Cc: Vignesh R <vigneshr@ti.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Bin Meng <bmeng.cn@gmail.com>
Tested-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/spi_flash.c