On 5/11/23 23:28, Bao D. Nguyen wrote:
In preparation for adding mcq error handler support, update the mcq code to use the ufshcd_mcq_poll_cqe_lock() in interrupt context instead of using ufshcd_mcq_poll_cqe_nolock(). This is to keep synchronization between mcq interrupt and error handler contexts because both need to access the mcq hardware in separate contexts.
Reviewed-by: Bart Van Assche <bvanassche@xxxxxxx>