Meng Li ea94191e58
spi: cadence: set cqspi to the driver_data field of struct device
When initialize cadence qspi controller, it is need to set cqspi
to the driver_data field of struct device, because it will be
used in function cqspi_remove/suspend/resume(). Otherwise, there
will be a crash trace as below when invoking these finctions.

Fixes: 31fb632b5d43 ("spi: Move cadence-quadspi driver to drivers/spi/")
Cc: stable@vger.kernel.org
Signed-off-by: Meng Li <Meng.Li@windriver.com>
Link: https://lore.kernel.org/r/20210311091220.3615-1-Meng.Li@windriver.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-03-11 13:32:32 +00:00
..
2021-02-22 09:19:08 -08:00
2020-10-08 23:00:06 +01:00
2020-07-17 16:38:47 +01:00
2021-02-22 14:34:00 -08:00
2020-07-14 17:38:46 +01:00
2020-10-24 10:33:08 -07:00
2021-02-22 09:19:08 -08:00
2021-01-25 12:53:48 +00:00