Files
linux/drivers
Eyal Reizer 3f2a641ece wlcore: sdio: check for valid platform device data before suspend
[ Upstream commit 6e91d48371 ]

the wl pointer can be null In case only wlcore_sdio is probed while
no WiLink module is successfully probed, as in the case of mounting a
wl12xx module while using a device tree file configured with wl18xx
related settings.
In this case the system was crashing in wl1271_suspend() as platform
device data is not set.
Make sure wl the pointer is valid before using it.

Signed-off-by: Eyal Reizer <eyalr@ti.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-08-03 07:47:42 +02:00
..
2018-07-22 15:15:58 +02:00
2018-07-03 11:26:59 +02:00
2018-06-16 09:18:24 +02:00
2018-03-27 09:51:22 +02:00
2018-05-22 13:48:34 -04:00
2018-04-18 23:37:25 -04:00
2018-07-25 11:26:11 +02:00
2018-03-29 13:38:10 +03:00