11 Jun
2020
11 Jun
'20
4:26 p.m.
On Thu, 2020-06-11 at 21:44 +0800, Brent Lu wrote:
The loop implementation could not solve the unsolicited response issue because the RIRBSTS is cleared after leaving the snd_hdac_bus_update_rirb() function. So the next loop will fail the status test against the RIRB_INT_MASK and skip all the RIRB handling stuff. On the other hand, there alwasy could be unsolicited responses in the last loop regardless the number of loops.
Clear the RIRB interrupt before handling it so unsolicited response could trigger another RIRB interrupt to handle it later.
Hi Brent,
Thanks for the patch. Is this fix for a specific issue you're seeing? If so, could you please give us some details about it?
Thanks, Ranjani