ASoC: codecs: bg: Fix incorrect propagation of command response
BG codec driver waits for fixed amount of time for a command response
from BG. If the wait times out codec driver moves to send
the next command, if the response for first command is received now
because there are no checks for command specific response, the second
command gets falsely acknowledged. To avoid this, use the token present
in the command response payload to acknowledge response for the appropriate
command.
Change-Id: Idbaf09ae88def0503324d7999c185961b79c215b
Signed-off-by:
Ashish Jain <ashishj@codeaurora.org>
Loading
Please register or sign in to comment