OSDN Git Service

wil6210: prevent XTAL off in device bootloader
authorMaya Erez <merez@codeaurora.org>
Sun, 30 Oct 2016 19:38:14 +0000 (21:38 +0200)
committerMaya Erez <merez@codeaurora.org>
Sun, 30 Oct 2016 19:38:14 +0000 (21:38 +0200)
commit05f7adbb9d9d37ba39058942d87d62941c733cd1
treecf7a0b432604054ea72b7fe08911e3e094ee00c3
parent860386bcf2c0b9076cbc6681fbf4de8a78fa1afe
wil6210: prevent XTAL off in device bootloader

Device bootloader enters deep sleep and turns off
its clock after 1 second of inactivity.
Waking up from this stage takes several milliseconds
and can cause PCIe timeout.
To prevent that, we need to add HALP vote in the reset
flow which will prevent the BL from turning off its
XTAL.

Change-Id: Id9273e546d3565935a7b1150c27993f02c5734e3
Signed-off-by: Maya Erez <merez@codeaurora.org>
drivers/net/wireless/ath/wil6210/interrupt.c
drivers/net/wireless/ath/wil6210/main.c
drivers/net/wireless/ath/wil6210/wil6210.h