diff options
author | Eyal Reizer <eyalreizer@gmail.com> | 2018-05-28 11:36:42 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2018-05-29 10:20:56 +0300 |
commit | 6e91d48371e79862ea2c05867aaebe4afe55a865 (patch) | |
tree | 54a601415955c120d9f5dd298a756f2d2a07a175 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 88027c8ff0a3f87d5d06d53ee25a41b90d8bccec (diff) |
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