Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d71cec7f authored by Sameer Thalappil's avatar Sameer Thalappil
Browse files

cnss: Fix probe initialization sequence



WLAN regulator may not be available when CNSS driver is probed;
and driver correctly returns probe defer code to kernel in this case.
However the resource allocation (including WLAN regulator) is done
at much later part of probe, that requires a clean up of all the
initialization done when probe is deferred. So fix the probe sequence
by moving the resource allocation to the beginning of probe, that will
make sure that probe fails immediately when WLAN regulator is not
available.

CRs-Fixed: 662777
Change-Id: Ic2546d11febcf68184e24bcd3efe55c8f3280546
Signed-off-by: default avatarSameer Thalappil <sameert@codeaurora.org>
parent f2291a76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment