[PATCH v4 0/2] Added support for spi-nor device pm in m25p80
Kamal Dasu
kdasu.kdev at gmail.com
Tue Feb 14 07:32:46 PST 2017
Changes since v3 based on review comments:
spi-nor.h
- Moved flash_info field to end of structure
- Added flash_info entry to the spi_nor structure description
- Reworded the function description
- Reworded the commit message
m25p80.c:
- Only implement and initialize the resume() pm_op
The V4 changes below implements power management support in m25p80 driver.
m25p80 pm resume() calls newly a implemented spi_nor_init() function
that sets up the spi-nor flash to its probed state. This is needed on
platfroms that turn off power to the spi-nor flash on pm suspend.
The code has been rebased to git://github.com/spi-nor/linux.git next
branch.
Kamal Dasu (2):
mtd: spi-nor: Added spi-nor init function
mtd: m25p80: Added pm ops support
drivers/mtd/devices/m25p80.c | 11 +++++++
drivers/mtd/spi-nor/spi-nor.c | 72 +++++++++++++++++++++++++++----------------
include/linux/mtd/spi-nor.h | 18 ++++++++++-
3 files changed, 73 insertions(+), 28 deletions(-)
--
1.9.1
More information about the linux-mtd
mailing list