diff options
author | 2018-05-28 11:36:42 +0300 | |
---|---|---|
committer | 2018-05-29 10:20:56 +0300 | |
commit | 6e91d48371e79862ea2c05867aaebe4afe55a865 (patch) | |
tree | 54a601415955c120d9f5dd298a756f2d2a07a175 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | atmel: Add missing call to pci_disable_device() (diff) | |
download | wireguard-linux-6e91d48371e79862ea2c05867aaebe4afe55a865.tar.xz wireguard-linux-6e91d48371e79862ea2c05867aaebe4afe55a865.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions