diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-02-02 11:01:08 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2015-03-30 19:42:35 +0100 |
commit | 6bcf495317857e4e4cfb2e6f57fa8230cedc1362 (patch) | |
tree | e37ddd8b48b4527696ac242af4db7b95e1e8e606 /drivers/dma | |
parent | 351e1354fcd06e96245f8fda141ac3cc2f68f763 (diff) | |
download | blackbird-op-linux-6bcf495317857e4e4cfb2e6f57fa8230cedc1362.tar.gz blackbird-op-linux-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 <p.zabel@pengutronix.de>
Tested-by: Philipp Zabel <p.zabel@pengutronix.de>
Acked-by: Andy Yan <andy.yan@rock-chips.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/dma')
0 files changed, 0 insertions, 0 deletions