diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2015-04-24 19:51:10 +0800 |
---|---|---|
committer | Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com> | 2015-04-28 13:31:24 +0530 |
commit | 074eed5146acc39a77f15ecdc8404b3ba74aa3ae (patch) | |
tree | a2aa207810793617404d928e73bd8d0c371d40a7 /drivers/mtd/cfi_flash.c | |
parent | be7be78e10bfca6fc2d5e8fbc71da2db6a55c842 (diff) |
dm: sf: Make SST flash write op work again
With SPI flash moving to driver model, commit fbb0991 "dm: Convert
spi_flash_probe() and 'sf probe' to use driver model" ignored the
SST flash-specific write op (byte program & word program), which
actually broke the SST flash from wroking.
This commit makes SST flash work again under driver model, by adding
SST flash-specific handling in the spi_flash_std_write().
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Jagannadha Sutradharudu Teki <jagannadh.teki@gmail.com>
Diffstat (limited to 'drivers/mtd/cfi_flash.c')
0 files changed, 0 insertions, 0 deletions