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.

CRs-Fixed: 420467
Change-Id: I1d5555252aa56fddf28f06df5b60df6579f1ed7d
Signed-off-by: Chaithanya Krishna Bacharaju <chaithan@codeaurora.org>
1 file changed