msm: audio: qdsp5: Fix for wrong device values sent to acdb

Wrong device values are being sent acdb driver callback function.
This is because for a new audio manager session which gets registered,
device info is sent only when there is change in device configuration
or sample rate configuration. Due to this, not all sessions are updated
with the current device info and wrong values are sent to acdb.
Avoid this by maintaining a common device info across all sessions
to send correct device values.

(cherry picked from commit 5c715a3a9549b2098c0c7816f7f75713466a5900)

Change-Id: I6839b4b3f5c5b2afcd9a60d996646e7e65ebf06d
CRs-Fixed: 420467
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
qdsp5: audio: Avoid race condition by using mutex lock

There is chance of race condtion if audpp(audio postprocessing)
callback registration function is called concurrently
by more than one clients.

Avoid this by serializing audpp callback function using
mutex lock.

CRs-Fixed: 441525
Change-Id: Ic7524d83b32d54b09ba77648a266585957f49648
Signed-off-by: Manish Dewangan <manish@codeaurora.org>