cnss_sdio: fix wlan card sdio rate can't reach 200M after warm start

The wlan card detected as high speed SDIO card after device
warm start while it detected as ultra high speed SDIO card
after device cold start.

Wlan card enable pin not be pulled in the sequence high/low/high
will make wlan card detected as high speed SDIO card but not ultra
high speed after warm start.

Change the wlan vdd regulator check logic for cnss_put_hw_resources
and cnss_get_hw_resources, so the function will not return directly
if there is no vdd-wlan on board.

Change-Id: I741ef1b6e8d9b950b6ebc9b2e64d16ab6d3912f0
CRs-Fixed: 2184824
Signed-off-by: Gaole Zhang <gaolez@codeaurora.org>
1 file changed