diff options
author | Russell King <[email protected]> | 2015-02-02 11:01:08 +0000 |
---|---|---|
committer | Russell King <[email protected]> | 2015-03-30 19:42:35 +0100 |
commit | 6bcf495317857e4e4cfb2e6f57fa8230cedc1362 (patch) | |
tree | e37ddd8b48b4527696ac242af4db7b95e1e8e606 /tools/perf/util/trace-event-scripting.c | |
parent | 351e1354fcd06e96245f8fda141ac3cc2f68f763 (diff) |
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 <[email protected]>
Tested-by: Philipp Zabel <[email protected]>
Acked-by: Andy Yan <[email protected]>
Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions