[PATCH v2 2/3] drm/mediatek: support HDMI jack status reporting

Tzung-Bi Shih tzungbi at google.com
Wed Feb 12 11:31:54 UTC 2020


On Wed, Feb 12, 2020 at 4:19 PM CK Hu <ck.hu at 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.


More information about the dri-devel mailing list