wil6210: add pm_notify handling
authorMaya Erez <qca_merez@qca.qualcomm.com>
Mon, 16 May 2016 19:23:34 +0000 (22:23 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sat, 28 May 2016 08:19:25 +0000 (11:19 +0300)
commite34dc6475a7b25d1aec5de8652a321672904c686
tree07fdcedca3a19e6ddcf56e3ba6d154263b620d29
parenta1526f7eafa434f756579e2bc784b7605f96bf3e
wil6210: add pm_notify handling

Adding pm_notify to allow the following:
1. Check if suspend is allowed in an earlier stage to prevent
starting the suspend procedure in case it is not allowed
2. Notify the platform driver on the suspend request

Signed-off-by: Maya Erez <qca_merez@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/pcie_bus.c
drivers/net/wireless/ath/wil6210/pm.c
drivers/net/wireless/ath/wil6210/wil6210.h
drivers/net/wireless/ath/wil6210/wil_platform.h