Guenter Roeck c68025bf03 spi/tegra: Fix device remove function
The call to spi_unregister_master() in the device remove function frees device
memory, and with it any device local data. However, device local data is still
accessed after the call to spi_unregister_master().

Acquire a reference to the SPI master device and release it after cleanup is
complete to solve the problem.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
2012-08-27 09:37:52 -07:00
..
2012-08-17 22:56:18 +01:00
2011-11-09 23:02:12 +08:00
2011-06-06 01:16:30 -06:00
2012-04-10 14:11:34 -06:00
2011-09-21 09:41:48 -06:00
2011-06-06 01:16:30 -06:00
2012-07-10 15:28:56 +01:00
2011-06-06 01:16:30 -06:00
2012-08-22 20:00:51 +01:00
2012-04-10 14:11:34 -06:00
2011-06-06 01:16:30 -06:00
2012-05-19 22:37:16 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00