Eyal Reizer 6e91d48371 wlcore: sdio: check for valid platform device data before suspend
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>
2018-05-29 10:20:56 +03:00
..
2017-12-14 14:44:31 +02:00
2017-11-27 11:23:20 +01:00
2016-04-12 15:56:15 +02:00
2017-05-18 16:41:23 +03:00
2015-12-31 10:19:47 +02:00
2015-08-10 22:16:34 +03:00
2016-05-11 21:26:15 +03:00
2016-05-11 21:26:15 +03:00
2016-04-12 15:56:15 +02:00
2016-04-12 15:56:15 +02:00
2017-12-07 15:20:01 +02:00
2016-04-12 15:56:15 +02:00