summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e533720)
raw | patch | inline | side by side (parent: e533720)
author | Jyri Sarha <jsarha@ti.com> | |
Mon, 15 Jun 2015 08:21:37 +0000 (11:21 +0300) | ||
committer | Jyri Sarha <jsarha@ti.com> | |
Tue, 16 Jun 2015 14:23:04 +0000 (17:23 +0300) |
Do not abort audio playback when display is turned off. The audio DMA
stops when the display turned off and the audio stream will timeout in
couple of seconds unless the display is enabled again in time. Without
this patch the audio playback is aborted immediately when display is
turned off.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
stops when the display turned off and the audio stream will timeout in
couple of seconds unless the display is enabled again in time. Without
this patch the audio playback is aborted immediately when display is
turned off.
Signed-off-by: Jyri Sarha <jsarha@ti.com>
drivers/video/fbdev/omap2/dss/hdmi4.c | patch | blob | history | |
drivers/video/fbdev/omap2/dss/hdmi5.c | patch | blob | history |
index f3e43eff0ee55963691291095dcb1f562c6d1f0c..45925d1fd4e5cbaf38e3a0da3a5b8b68fe18473e 100644 (file)
mutex_lock(&hdmi.lock);
- if (hdmi.audio_abort_cb)
- hdmi.audio_abort_cb(&hdmi.pdev->dev);
+ /* If set hdmi.audio_abort_cb(&hdmi.pdev->dev) should be
+ * called here, if audio abort functionality is needed. */
hdmi_power_off_full(dssdev);
index 14c0d611a19d143093cc0e170e4f19f0309ab080..8863adef981955c8f546e74c6faa616b14c20735 100644 (file)
mutex_lock(&hdmi.lock);
- if (hdmi.audio_abort_cb)
- hdmi.audio_abort_cb(&hdmi.pdev->dev);
+ /* If set hdmi.audio_abort_cb(&hdmi.pdev->dev) should be
+ * called here, if audio abort functionality is needed. */
hdmi_power_off_full(dssdev);