omap4-common: don't spam the logfile when changing scaling governors

only log a failed write to the boostpulse_fd once and then retry
opening it, instead of logging the failed write for every touchscreen
interaction.

Change-Id: I8a2d0741819b477ba260a6ac44f3295ba865ab94
omap4-common: update alsa-lib to 1.0.27.2

Change-Id: Ieeddf131638888c81026ef5cd4cbfe05f65cc39b
audio: Add a separate HAL for HDMI audio

Creating an audio HAL for HDMI because:

  * The HDMI card is already a separate card from
    the OMAP ABE audio.

  * The needs of HDMI are getting more specialized
    (e.g. things like multichannel audio, bitstream
    audio, etc.)

  * Things in the OMAP ABE HAL are getting a bit
    cramped and complex, and it would be better to
    reduce the complexity rather than add to it.

This version is provides the same functionality as audio_hw.c

Change-Id: Ifcf1cca4f7f49bcabc14c20105a9ddc40f2e33e3
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
audio: hdmi: add dynamic multichannel support

This patch parses the HDMI EDID to find the capabilites of the sink
device.  It communicates this information to Android so that it can
make the proper decisions about routing multichannel streams.

When parsing the EDID we look for:

  * Audio Bit (whether or not sink supports audio)

  * Speaker Allocation Data Block (if any), which
    declares which speakers are attached to the sink.

  * Audio Data Allocation Block (if any), which
    declares extended capabilities not implied by the
    Audio Bit.

The speaker allocation block is parsed to see which channel profiles
it supports (stereo, quad, surround, 5.1, and 7.1).

Change-Id: Ic2ff57acd8f1d4b92ca4034e2a5800d0b69a3e05
Signed-off-by: Gabriel M. Beddingfield <gabrbedd@ti.com>
omap4-common: force landscape when hdmi is connected

Change-Id: Ia74759f72771fd077482e66d99c55507feea7057
Merge remote-tracking branch 'cm/cm-11.0' into kitkat