diff options
| author | Russell King <[email protected]> | 2015-02-02 11:01:08 +0000 |
|---|---|---|
| committer | Russell King <[email protected]> | 2015-03-30 18:42:35 +0000 |
| commit | 6bcf495317857e4e4cfb2e6f57fa8230cedc1362 (patch) | |
| tree | e37ddd8b48b4527696ac242af4db7b95e1e8e606 /scripts/asn1_compiler.c | |
| parent | drm: bridge/dw_hdmi: combine hdmi_set_clock_regenerator_n() and hdmi_regenera... (diff) | |
| download | kernel-6bcf495317857e4e4cfb2e6f57fa8230cedc1362.tar.gz kernel-6bcf495317857e4e4cfb2e6f57fa8230cedc1362.zip | |
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 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions
