From 6bcf495317857e4e4cfb2e6f57fa8230cedc1362 Mon Sep 17 00:00:00 2001 From: Russell King Date: Mon, 2 Feb 2015 11:01:08 +0000 Subject: [PATCH] drm: bridge/dw_hdmi: protect n/cts setting with a mutex The HDMI n/cts settings need to be updated whenever the audio sample rate or the video pixel clock changes. This needs to be protected against concurrency as there is no synchronisation between these two operations. Introduce a mutex (called audio_mutex) to protect against two threads trying to update the video clock rate and pixel clock simultaneously. Acked-by: Philipp Zabel Tested-by: Philipp Zabel Acked-by: Andy Yan Signed-off-by: Russell King --- Reading git-format-patch failed