Eyal Reizer <eyalreizer@xxxxxxxxx> wrote: > 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@xxxxxx> Patch applied to wireless-drivers-next.git, thanks. 6e91d48371e7 wlcore: sdio: check for valid platform device data before suspend -- https://patchwork.kernel.org/patch/10430043/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches