cnss2: Add check to avoid unbalanced power set
Driver may enter CLOSED state after loaded and idle for a certain time,
power is turned off in such case, then if unload happen, power would be
turned off again, which will cause unbalance.
Add power_up state in cnss_plat_data to avoid unbalanced power set.
Change-Id: I640d98650e32b53632cc2712af1cbae8ac280a68
Signed-off-by:
Frank Liu <qiliu@codeaurora.org>
Loading
Please register or sign in to comment