driver: mtd: sf_ops: claim bus while doing memcpy
authorPoddar, Sourav <sourav.poddar@ti.com>
Thu, 14 Nov 2013 15:31:15 +0000 (21:01 +0530)
committerJagannadha Sutradharudu Teki <jaganna@xilinx.com>
Thu, 19 Dec 2013 06:53:22 +0000 (12:23 +0530)
commitac5cce38de8f97a120b8c98f34be0d5eec50a6fb
tree74d5d9b3302c59998ced38d04347a3ae6458439c
parent2c57b03bab960b77303043cb9736050173d36fb9
driver: mtd: sf_ops: claim bus while doing memcpy

claim spi bus while doing memory copy, this will set up
the spi controller device control register before doing
a memory read.

Signed-off-by: Sourav Poddar <sourav.poddar@ti.com>
Tested-by: Yebio Mesfin <ymesfin@ti.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jaganna@xilinx.com>
drivers/mtd/spi/sf_ops.c