initial monarudo import

Signed-off-by: Bryan Smith <zarboz@gmail.com>
adding bcm 4334 from htc mini source

Signed-off-by: Bryan Smith <zarboz@gmail.com>
adding panel ids

Signed-off-by: Bryan Smith <zarboz@gmail.com>
fixing build files in rawchip

Signed-off-by: Bryan Smith <zarboz@gmail.com>
fixing adb

Signed-off-by: Bryan Smith <zarboz@gmail.com>
gcc 4.7 and update defconfig

Signed-off-by: Bryan Smith <zarboz@gmail.com>
fixing sound for DNA

Signed-off-by: Bryan Smith <zarboz@gmail.com>
actually fixing sound :-p

Signed-off-by: Bryan Smith <zarboz@gmail.com>
Fixing earpiece amplification in call.

HTC released a non-finished version of their kernel
that doesnt contain all the RCV amp parts.

Added a headset_amp call to htc_headset_mgr part,
so it can call the soundcard of m7 directly when
headset is plugged/unplugged.

Based on that states and the SPKR amp events
we use the GPIO commands to enable/disable
RCV part (earpiece amp) of the phone.

Thus earpiece audio is working while in call,
and switches on/off based on headset state
as well.
updating qup i2c

Signed-off-by: Bryan Smith <zarboz@gmail.com>
Revert "Fixing earpiece amplification in call."

This reverts commit f88ddffcda1581c21e4af50148eb6ca91a6fa8c7.
reverting some sound changes

Signed-off-by: Bryan Smith <zarboz@gmail.com>
sound: HTC, don't enable debug printks by default!

This includes printing during IRQs during music playback.  Sigh.
ASoC:msm: Increase Proxy buffering

-Proxy buffering can overflow if BT
playback setup takes a lot of time
-Fix this by increasing the proxy
buffer size so that we will end
up buffering the additional data that
can come in during this time

Change-Id: I736937ad03684a3b9aff586b8f676ec60259a442
Signed-off-by: Alexy Joseph <alexyj@codeaurora.org>
ALSA: core: Fix crash by avoiding appl_ptr crossing 32-bit boundary

Incase of A2DP usecase using proxy driver, appl_ptr has
boundary value as 0x60000000 frames in sw_params for stereo(2 channels).
When this value crosses 0x40000000, then userspace calculating
appl_ptr at bytes results in crossing 32-bit value 0x100000000,
and points to 0x0 offset which can result in crash or pop.
To avoid above scenario, set the sw_params appl_ptr boundary value
within 0x40000000. Added proper check at sw_params update
to set this value correctly within 32-bit boundary(frames).

Change-Id: I537a04156699d90549a0a468ae19539ecd552d3b
CRs-Fixed: 483203
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>