sf: Read back and check once spansion quad bit set
authorJagan Teki <jteki@openedev.com>
Tue, 15 Dec 2015 06:58:39 +0000 (12:28 +0530)
committerJagan Teki <jteki@openedev.com>
Wed, 13 Jan 2016 13:17:26 +0000 (18:47 +0530)
commitffecb0fc840707d7aadf42364ae596f998a3d52f
treed506320ff5104f1c93696793c1dc087123455cf7
parentc56ae7519f141523ba1248b22b5b5169b21772fe
sf: Read back and check once spansion quad bit set

One spansion quad bit set using CR, 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>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Tested-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Jagan Teki <jteki@openedev.com>
drivers/mtd/spi/spi_flash.c