ASoC: msm: Modify min and max period bytes and num periods

Modify min and max period bytes and number of periods in
compressed driver so as to be consistent with lpa and to
meet ION memory requirements. This avoids using huge
buffer sizes for tunnel decode.

Change-Id: Ib71da4cebfc097e7aeaf0ca0e65ee847ba7cceb7
Signed-off-by: Phani Kumar Uppalapati <phanik@codeaurora.org>
ASoC: WCD9304: Fix threshold value for class G headphone

When playing a full scale tone with highest gain in the codec, OCP
(Over Current Protection) event is generated. This is caused due to
lower switching frequency for the class G amplifier on headphone
path. Fix the false OCP event trigger by appropriately setting the
class G switching frequency

CRs-fixed: 406641, 415990
Change-Id: I9563ab2d06c970b47693293175fe7ae4a711348c
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
defconfig: turn on SCHED_MC for some MSM targets

Currently CPUs that have entered nohz idle mode are not being woken
up to perform load balancing. Turning on SCHED_MC will fix that, and
will also cause CPUs to show up at the correct level of scheduling
domain (MC).

SCHED_MC would normally also cause SD_SHARE_PACKAGE_RESOURCES to be
turned on at the MC level as well, causing a task to be migrated to
an idle CPU when the task is woken up. Previous modifications to
SD_SHARE_PACKAGE_RESOURCES however have restricted its effect
to tasks that have the PF_WAKE_ON_IDLE flag set.

Certain target configurations (msm7627a*, msm8660*) are being left
out until they are verified with SCHED_MC.

Signed-off-by: Steve Muckle <smuckle@codeaurora.org>

Conflicts:

	arch/arm/configs/mako_defconfig
	arch/arm/configs/msm8910_defconfig

Change-Id: I1c8a311e724cedfebe6997e48ddebf837c14e7a1
Merge "defconfig: turn on SCHED_MC for some MSM targets"
msm: kgsl: Add CP_WAIT_FOR_IDLE packet before updating timestamp

HW workaround to resolve MMU pagefault caused by memory
freeing early before GPU completes it.

This is race condition where timestamp is getting updated
and the event handler runs before the GPU actually got done
with the timestamp, hence freeing the buffer early while GPU
still not completed with it.

Change-Id: I6d338d7dca680f57f2c39ed5a14381b261bf8bce
Signed-off-by: Anshuman Dani <adani@codeaurora.org>
ASoC: msm: Fix for proxy port open failure in WFD session

When playback is paused and proxy device disabled, afe is
not closed. This results in failure of proxy port open in the second
iteration. Fix the same by closing and opening the proxy.

Change-Id: Idfa94e5756d87e59dc0101fd688d6accfe6287e7
CRs-Fixed: 447001
CRs-Fixed: 446504
Signed-off-by: Satya Krishna Pindiproli <satyak@codeaurora.org>
msm: acpuclock-8064: PVS Data for 1512 GHZ 8064v2 parts

Add data for seven PVS bins.
Support 25mV boost voltage.

Change-Id: I2d8560b92a40ece21b28f7276eb640dd0b4d7d80
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
(cherry picked from commit 05f613c90ee45192148f39dd4726ce31237cf786)
msm: acpuclock-8064: Lower max L2 speed to 1134MHz

There are some testing showing that L2 at 1188MHz may cause
some stability issue. Therefore, lower the max speed to 1134MHz
unitl the root cause is found.

Change-Id: Ie38b96958d07d7a09ac8ef4eb1793970b5563776
Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
Merge "msm: acpuclock-8064: PVS Data for 1512 GHZ 8064v2 parts"
Merge "msm: acpuclock-8064: Lower max L2 speed to 1134MHz"
msm_fb: display: Do clock control within mdp4_hw_init

Since mdp4_hw_init() access mdp registers, mdp clock control
within mdp4_hw_init() is necessary.

CRs-fixed: 455506
Change-Id: I768f468314fc920029b4c88e49ef6a74f6b74f58
Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
Merge "msm_fb: display: Do clock control within mdp4_hw_init"
Merge "ASoC: WCD9304: Fix threshold value for class G headphone"
Merge "msm: kgsl: Add CP_WAIT_FOR_IDLE packet before updating timestamp"
mmc: card: fix timeout on erase/trim command due to sanitize

Sanitize command should never be issued with timeout argument of 0,
cause then it invokes timeout.
Moreover, sanitize command should not be called from routines that
does erase/trim/secure-discard commands, but only from a routine that
issues the sanitize spesifically.(mmc_blk_issue_sanitize_rq)

Change-Id: Ia3e3737f4bad149edc2248b8a30d74a9bd812be1
Signed-off-by: Yaniv Gardi <ygardi@codeaurora.org>
Merge "mmc: card: fix timeout on erase/trim command due to sanitize"
Merge "ASoC: msm: Fix for proxy port open failure in WFD session"
Merge "ASoC: msm: Modify min and max period bytes and num periods"
diag: Bring event last id up to date

The events are out date with what is on modem. Bring
the event last id up to date.

Change-Id: I6045754bbd3df9d138d3b30bc5d4d4c074c96572
Signed-off-by: Dixon Peterson <dixonp@codeaurora.org>
Merge "diag: Bring event last id up to date"