]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: add an API to restore the status of SPI flash chip
authorHou Zhiqiang <Zhiqiang.Hou@nxp.com>
Wed, 6 Dec 2017 02:53:41 +0000 (10:53 +0800)
committerCyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Tue, 12 Dec 2017 23:36:00 +0000 (00:36 +0100)
commite5cc25a5e06280d3c610fb94acfcbafe10a88c78
tree72bdb63f2ed5a58b2e809f385c92b1b61edaefb1
parent49208d13d84bd11c803681ec6bb69c361e5a4af0
mtd: spi-nor: add an API to restore the status of SPI flash chip

Add this API to restore the status of SPI flash chip to the default
such as addressing mode, whenever detach the driver from device or
reboot the system.

Signed-off-by: Hou Zhiqiang <Zhiqiang.Hou@nxp.com>
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@wedev4u.fr>
Documentation/mtd/spi-nor.txt
drivers/mtd/spi-nor/spi-nor.c
include/linux/mtd/spi-nor.h