12 Feb
2020
12 Feb
'20
12:31 p.m.
On Wed, Feb 12, 2020 at 4:19 PM CK Hu ck.hu@mediatek.com wrote:
I think hdmi_conn_detect() and mtk_hdmi_audio_hook_plugged_cb() would be called in different thread. So it's necessary to use a mutex to protect this.
Thanks for the reminder. I feel using mutex here is overkill. Please see https://patchwork.kernel.org/patch/11378413/ for my proposed solution.