msm: kgsl: use the same logic in adreno_idle and adreno_isidle

These two functions need to agree on the meaning of "idle",
so that calling adreno_isidle() right after an adreno_idle()
will always return true.

Change-Id: I7cddf73773186c3ec8b56c111affacac3b07fcc7
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
(cherry picked from commit 5365240cf0abf2d799dd849abca0dc5b46d4b784)
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>

Signed-off-by: Sridhar Gujje <sgujje@codeaurora.org>
hwmon: qpnp-adc-scale: Fix batt_therm mapping table

Mapping table for batt_therm used for converting voltage
to temperature is incorrect after 65degC. Fix the voltage
to temperature mapping for values after 65degC.

Change-Id: Ib8534a2be3b66f61b4edbe8f283cfee9f873af81
Signed-off-by: Siddartha Mohanadoss <smohanad@codeaurora.org>
ASoC: wcd9304: Fix dce and sta wait time

Apply correct dce and sta wait time based on calculation
rather than using default values.

CRs-Fixed: 521904
Change-Id: I15578c8ca5ba606af3d7ded85014c178ffc1effe
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
Merge "hwmon: qpnp-adc-scale: Fix batt_therm mapping table"
msm: kgsl: use kgsl_mmu_device_setstate() whenever the gpu is idle

We really don't want new GPU commands or events to be generated
just to manage the iommu while we are idle.

Change-Id: I2e8740bee8c25c93bddc51a90a3370d151aaf558
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
(cherry picked from commit 1a3279ee70f72d67c5b259573096a9953257a9b5)
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
Merge "msm: kgsl: use the same logic in adreno_idle and adreno_isidle"
Merge "msm: kgsl: use kgsl_mmu_device_setstate() whenever the gpu is idle"
Merge "ASoC: wcd9304: Fix dce and sta wait time"
ALSA: usb-audio: Fix the mixer control range limiting issue

- mixer_ctl_set() function is limiting the volume level
  to particular range. This results in incorrect initial
  volume setting for that device.
- In USB mixer while calculating the dBmin/dBmax values
  resolution factor is hardcoded to 256 which results in
  populating the wrong values for dBmin/dBmax.
- Fix is to use appropriate resolution factor while
  calculating the dBmin/dBmax values.

CRs-Fixed: 515012
Change-Id: I502355af66f850bb65380c27333c3341fa43a947
Signed-off-by: Deepa Madiregama <dmadireg@codeaurora.org>
Merge "ALSA: usb-audio: Fix the mixer control range limiting issue"
d2 et al.: disable OABI compat

Commit fefc65c201fc50bd4f22602292bbf48c8df23450 removed the requirement
for OABI compatibility back in April due to TLB crashes, but we still
have it on.

There is no reason I can think of to leave this on.

Change-Id: Idec3a3f4a931db601ad469e892b30eb18be4deed
prima 3.2.3.172

Change-Id: Ic8e7d319f76430ad5b807eb2a5264d2c66c86359
AIO: Don't plug the I/O queue in do_io_submit()

Asynchronous I/O latency to a solid-state disk greatly increased
between the 2.6.32 and 3.0 kernels. By removing the plug from
do_io_submit(), we observed a 34% improvement in the I/O latency.

Unfortunately, at this level, we don't know if the request is to
a rotating disk or not.

Change-Id: I7101df956473ed9fd5dcff18e473dd93b688a5c1
Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
Cc: linux-aio@kvack.org
Cc: Chris Mason <chris.mason@oracle.com>
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jeff Moyer <jmoyer@redhat.com>
apexq/expressatt: allow gpu app locking

- Iommu on apexq/expressatt is not broken like d2 and
  does not cause watchdog timeouts on the modem

Change-Id: I98569b2d8e3c93be1050d43f455bbbe89c123e74
Merge "d2 et al.: disable OABI compat" into cm-10.2
Merge "apexq/expressatt: allow gpu app locking" into cm-10.2
Merge remote-tracking branch 'caf/jb_2.6' into cm-10.2
Merge remote-tracking branch 'korg/linux-3.4.y' into cm-10.2
mmc: allow ext_csd revision 7

Newer d2 revisions are coming with version 7, this matches the stock
kernel too.

Change-Id: Ie64f681dc2dee0e52ba46dca55dfb310bf0eba93
Merge remote-tracking branch 'cm/cm-10.2' into cm-10.2