audio: wcd-dsp-mgr: add retry for reading firmware
It is possible that request_firmware could return -EAGAIN
due to an signal/interrupt. This could potentially leave
WDSP firmware in unloaded state until device reboot.
Fix this by keeping pm awake during request_firmware
and retry in case of -EAGAIN.
Bug: 112236961
Bug: 112172143
Change-Id: Ie5276f4816e8f700aff15b06edba55a66d41e2e7
Signed-off-by: Carter Hsu <carterhsu@google.com>
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
Signed-off-by: David Lin <dtwlin@google.com>
1 file changed