diff for duplicates of <55E04798.3030905@ti.com> diff --git a/a/1.txt b/N1/1.txt index ffe01e7..85d988c 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -44,8 +44,7 @@ On 08/28/15 13:37, Tomi Valkeinen wrote: >> + spin_lock_irqsave(&hdmi.audio_playing_lock, flags); >> + if (hdmi.audio_configured && hdmi.audio_playing) { >> + /* No-idle while playing audio, store the old value */ ->> + hdmi.wp_idlemode = ->> + REG_GET(hdmi.wp.base, HDMI_WP_SYSCONFIG, 3, 2); +>> + hdmi.wp_idlemode >> + REG_GET(hdmi.wp.base, HDMI_WP_SYSCONFIG, 3, 2); >> + REG_FLD_MOD(hdmi.wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2); >> + >> + hdmi_wp_audio_enable(&hdmi.wp, true); @@ -69,7 +68,7 @@ state (when audio start/stop commands update only the hdmi.audio_playing variable) to always serialize correctly. IOW, the idea is to make sure the hdmi.audio_playing variable is always -in sync with what is in the HW when hdmi.display_enabled == true. +in sync with what is in the HW when hdmi.display_enabled = true. For example: when display is turned back on we take the spinlock and we can be sure that the audio start/stop status won't change while we diff --git a/a/content_digest b/N1/content_digest index 32d5c5d..5045274 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -3,7 +3,7 @@ "ref\055E039FC.8090707@ti.com\0" "From\0Jyri Sarha <jsarha@ti.com>\0" "Subject\0Re: [PATCH 1/2] OMAPDSS: hdmi: Reconfigure and restart audio when display is enabled\0" - "Date\0Fri, 28 Aug 2015 14:35:52 +0300\0" + "Date\0Fri, 28 Aug 2015 11:35:52 +0000\0" "To\0Tomi Valkeinen <tomi.valkeinen@ti.com>\0" "Cc\0liam.r.girdwood@linux.intel.com" alsa-devel@alsa-project.org @@ -59,8 +59,7 @@ ">> +\tspin_lock_irqsave(&hdmi.audio_playing_lock, flags);\n" ">> +\tif (hdmi.audio_configured && hdmi.audio_playing) {\n" ">> +\t\t/* No-idle while playing audio, store the old value */\n" - ">> +\t\thdmi.wp_idlemode =\n" - ">> +\t\t\tREG_GET(hdmi.wp.base, HDMI_WP_SYSCONFIG, 3, 2);\n" + ">> +\t\thdmi.wp_idlemode >> +\t\t\tREG_GET(hdmi.wp.base, HDMI_WP_SYSCONFIG, 3, 2);\n" ">> +\t\tREG_FLD_MOD(hdmi.wp.base, HDMI_WP_SYSCONFIG, 1, 3, 2);\n" ">> +\n" ">> +\t\thdmi_wp_audio_enable(&hdmi.wp, true);\n" @@ -84,7 +83,7 @@ "variable) to always serialize correctly.\n" "\n" "IOW, the idea is to make sure the hdmi.audio_playing variable is always \n" - "in sync with what is in the HW when hdmi.display_enabled == true.\n" + "in sync with what is in the HW when hdmi.display_enabled = true.\n" "\n" "For example: when display is turned back on we take the spinlock and we \n" "can be sure that the audio start/stop status won't change while we \n" @@ -99,4 +98,4 @@ "Cheers,\n" Jyri -9815a2459b1a80169b7fc326fd4a72b4908f4905c36e2ca3dc50f82963aa0e90 +6d595ef55c0d5440df562cb85f942cbc4bb24815032dff2f3d991d17cc344073
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.