[qca-nss-drv] Fix NSS Core-1 hang during IPsec

NSS Core-1 hangs during IPsec start, after NSS is scaled
down to Idle frequency. This is a random behavior.

The Frequency workqueue handler which can be executed by
NSS autoscale handler and Crypto session create function
is prone to race condition. Add Mutex lock for frequency
handler to avoid this scenario.

Change-Id: I9d15dd71ce5aa5d8edf0af22a9ee7c394976e0d5
Signed-off-by: c_athand <athand@codeaurora.org>
2 files changed