summaryrefslogtreecommitdiffstats
path: root/include/linux/spi/mxs-spi.h
diff options
context:
space:
mode:
authorClaudiu Beznea2019-04-24 11:17:59 +0200
committerMark Brown2019-05-02 03:38:43 +0200
commite5c27498a0403b270620b1a8a0a66e3efc222fb6 (patch)
treebd96161e2865f2d6465c38598ffcbab6602eda1a /include/linux/spi/mxs-spi.h
parentspi: stm32: return the get_irq error (diff)
downloadkernel-qcow2-linux-e5c27498a0403b270620b1a8a0a66e3efc222fb6.tar.gz
kernel-qcow2-linux-e5c27498a0403b270620b1a8a0a66e3efc222fb6.tar.xz
kernel-qcow2-linux-e5c27498a0403b270620b1a8a0a66e3efc222fb6.zip
spi: atmel-quadspi: fix crash while suspending
atmel_qspi objects are kept in spi_controller objects, so, first get pointer to spi_controller object and then get atmel_qspi object from spi_controller object. Fixes: 2d30ac5ed633 ("mtd: spi-nor: atmel-quadspi: Use spi-mem interface for atmel-quadspi driver") Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux/spi/mxs-spi.h')
0 files changed, 0 insertions, 0 deletions