summaryrefslogtreecommitdiffstats
path: root/include/trace/events/timer.h
diff options
context:
space:
mode:
authorBoris Brezillon <boris.brezillon@bootlin.com>2019-08-24 09:22:03 +0300
committerTudor Ambarus <tudor.ambarus@microchip.com>2019-08-28 12:40:28 +0300
commitdff972458acb05ab919b6950da99f8172ab14836 (patch)
tree8f438fb73f7690e6fdb9c9bfa3eea37c11d2d082 /include/trace/events/timer.h
parent64c160f32235f725a5378c66fb3583c720357ab9 (diff)
downloadtalos-op-linux-dff972458acb05ab919b6950da99f8172ab14836.tar.gz
talos-op-linux-dff972458acb05ab919b6950da99f8172ab14836.zip
mtd: spi-nor: Rework the SPI NOR lock/unlock logic
Add the SNOR_F_HAS_LOCK flag and set it when SPI_NOR_HAS_LOCK is set in the flash_info entry or when it's a Micron or ST flash. Move the locking hooks in a separate struct so that we have just one field to update when we change the locking implementation. Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com> [tudor.ambarus@microchip.com: use ->default_init() hook, introduce spi_nor_late_init_params(), set ops in nor->params] Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com> Reviewed-by: Vignesh Raghavendra <vigneshr@ti.com>
Diffstat (limited to 'include/trace/events/timer.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud