Files
android_kernel_xiaomi_sm8450/drivers/hwtracing
Jack Pham 551a627505 coresight-tmc-usb: Flush read_work before usb_qdss_close()
When disabling USB SW path ensure all calls to usb_qdss_write()
are completed before calling usb_qdss_close(), otherwise the
two APIs may race and result in out-of-order sequencing between
the underlying usb_ep_queue() and usb_ep_dequeue() calls.  This
may result in usb_qdss_close() getting stuck since it is waiting
on an unqueued request to complete.

Change-Id: Ibdccf082a6273f8d3a78e664b58bd0a5b9ce8f69
Signed-off-by: Jack Pham <quic_jackp@quicinc.com>
2021-12-21 21:38:37 -08:00
..