Commit Graph

259949 Commits

Author SHA1 Message Date
Linux Build Service Account
fbf1453902 Merge "msm: footswitch-8x60: Update collapse steps for memory retention robustness" into msm-3.0 2011-12-08 14:54:13 -08:00
Linux Build Service Account
5ba1e3291c Merge "radio-tavarua: Add host side support for the new FM Search Algorithm" into msm-3.0 2011-12-08 14:54:13 -08:00
Linux Build Service Account
22b1dd8eec Merge changes I4c2a1803,If6cc0136 into msm-3.0
* changes:
  msm: kgsl: let postmortem dump find context switch IBs
  msm: kgsl: improve postmortem and cff bounds checking
2011-12-08 14:54:13 -08:00
Linux Build Service Account
e5cea631bd Merge changes I56d680ee,I030c93c9 into msm-3.0
* changes:
  msm_fb: Discontinue use of clk_set_min_rate()
  msm: camera: Discontinue use of clk_set_min_rate()
2011-12-08 14:54:13 -08:00
Srinivasa Rao Uppala
c5320c2e36 radio: iris: Fix the FM FTM Tx configuration failure
FM configuration failure is due to two issues. Since the calibration
will take around 6 seconds to complete, any commands sent to SOC
during that time will fail.Added a state machine to prevent the
execution of another command while FM calibration is in progress.

The other issues is with the Get tuner command.FM kernel driver is
sending the Rx specific command to get the Tx configuration.
Send the proper command to get the TX configuration parameters.

CRs-Fixed: 317658
Change-Id: I54e637c267cbdb88d15d68d8ad7ceb72f985c54d
Signed-off-by: Srinivasa Rao Uppala <uppalas@codeaurora.org>
2011-12-08 12:37:34 -07:00
Linux Build Service Account
1671f939a5 Merge "Bluetooth: bnep: Fix deadlock in session deletion" into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
f8cec06851 Merge "USB: Kconfig: Add USB_MSC_PROFILING macro" into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
bcafbbb6ad Merge "drivers: misc: Add qfp_fuse into Makefile" into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
0174600ed1 Merge "slub: Enable backtrace for create/delete points" into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
eefbe8c3af Merge "power: pm8921-bms: support fake battery" into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
0bfb474ad8 Merge "misc: isa1200: Reset gpios properly in error path" into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
0a1f5b898f Merge "ASoC: msm: Add driver to support compressed audio." into msm-3.0 2011-12-08 10:28:10 -08:00
Linux Build Service Account
a3d4e56017 Merge "msm: smem: Add new SMEM items" into msm-3.0 2011-12-08 10:28:10 -08:00
Jeremy Gebben
faabed7322 msm: kgsl: let postmortem dump find context switch IBs
Because the IBs used for context switching are not allocated
by userspace, a separate search is needed to find them
in adreno_find_region.

Change-Id: I4c2a180333ae54ecbf257fd8c90ec2e3f748ad95
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2011-12-08 08:37:37 -07:00
Jeremy Gebben
16e80faf3f msm: kgsl: improve postmortem and cff bounds checking
Some hangs are fooling the postmortem dump code into
running off the end of a buffer. Fix this by making
its bounds check logic work better by reusing the
logic from kgsl_find_region().

CRs-Fixed: 319312
Change-Id: If6cc01369f4b0634d7e19494b8d021643abb8a39
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2011-12-08 08:37:37 -07:00
Linux Build Service Account
a1a8359355 Merge "msm_fb: [HDMI_COMPLIANCE] Disable HDCP interrupts on de-authenticaiton" into msm-3.0 2011-12-08 07:09:08 -08:00
Linux Build Service Account
b05de15448 Merge "usb: mdm_bridge: Fix invalid VID/PID registration" into msm-3.0 2011-12-08 07:09:08 -08:00
Linux Build Service Account
fd446c334a Merge changes Icf213ab4,I1746f8c0 into msm-3.0
* changes:
  smp: change printks that occur every hotplug to pr_debugs
  nohz: Remove "Switched to NOHz mode" debugging messages
2011-12-08 07:09:08 -08:00
Linux Build Service Account
1d04a93844 Merge "msm: board: rename display writeback config flag for both 8x60 and 8960" into msm-3.0 2011-12-08 07:09:08 -08:00
Linux Build Service Account
4f0ffef079 Merge "fs: yaffs: Use deferable timer for background operations" into msm-3.0 2011-12-08 07:09:08 -08:00
Linux Build Service Account
07726cca98 Merge "input: pmic8058-othc: Report headset removal without any delay" into msm-3.0 2011-12-08 07:09:08 -08:00
Linux Build Service Account
0f80d09dde Merge "msm_fb: display: cleanup overlay0 writeback funcs and config flags" into msm-3.0 2011-12-08 07:09:08 -08:00
Linux Build Service Account
6ce4148ffc Merge changes I84443121,I147eab37 into msm-3.0
* changes:
  power_supply: Add driver for LTC4088 Charger
  power: core: add power supply APIs
2011-12-08 05:58:55 -08:00
Linux Build Service Account
0770b8d269 Merge "msm: camera: kernel change for PCA test vector." into msm-3.0 2011-12-08 05:58:55 -08:00
Linux Build Service Account
e51d345e9a Merge "msm: enable CONFIG_FIX_MOVABLE_ZONE on 8960" into msm-3.0 2011-12-08 05:58:55 -08:00
Linux Build Service Account
f44dd6fb34 Merge changes I8e571677,I6d17c0f5 into msm-3.0
* changes:
  gpu: ion: Add call back for unmapping user mappings
  gpu: ion: Incrememnt user refcount during vma_open/vma_close
2011-12-08 05:58:55 -08:00
Aravind Venkateswaran
daf5e17901 msm_fb: [HDMI_COMPLIANCE] Disable HDCP interrupts on de-authenticaiton
This change disables all the HDCP interrupts upon de-authentication.
In addition, we also clear the HDCP AUTH_FAIL_INFO register upon
processing the AUTH_FAIL_INT interrupt. This is required for passing
HDCP compliance for MSM8960

Change-Id: Iefe544c8c972e4d3b5fa4ccdd513c411d1781b3d
CRs-Fixed: 321221
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2011-12-08 02:18:32 -07:00
Anirudh Ghayal
27c5a8de49 input: pmic8058-othc: Report headset removal without any delay
Delay in headset removal causes adverse effects in
userspace such as delay (loss) in audio/video routing.

Delay was introduced to reject spurious switch events. These
events are already rejected based on the headset status.

CRs-Fixed: 321721
Change-Id: I34346a83cc673d7a7856ea1f43f858a5e040265d
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
2011-12-08 14:12:29 +05:30
Linux Build Service Account
1a056914a3 Merge changes I73290a01,I092d1915,I58f0cd5c into msm-3.0
* changes:
  ASoC: WCD9310: Turn off HPH DAC's before accessory insertion
  ASoC: WCD9310: Pause headset polling before switching MBHC Mic Bias
  ASoC: WCD9310: Fix continous fake interrupt while partial headset insertion
2011-12-08 00:42:29 -08:00
Linux Build Service Account
b1cf1d9a5c Merge "defconfig: msm8960: enable host CDC-ECM class support" into msm-3.0 2011-12-08 00:42:29 -08:00
Linux Build Service Account
25d136a92f Merge changes Ie8cfb6bc,If4070e60 into msm-3.0
* changes:
  msm: kgsl: remove ib_dump debugfs file
  msm: kgsl: make cffdump work with the MMU enabled
2011-12-08 00:42:29 -08:00
Linux Build Service Account
dbf1cab6f1 Merge "msm_fb: hdmi_msm: No HDMI for 8627" into msm-3.0 2011-12-08 00:42:29 -08:00
Linux Build Service Account
0a63900899 Merge "msm: board-8960: modify phy analog registers to pass signal quality" into msm-3.0 2011-12-08 00:42:29 -08:00
Linux Build Service Account
d3ebabe943 Merge "msm: vidc: Fix handling EOS with bitstream error." into msm-3.0 2011-12-08 00:42:29 -08:00
Linux Build Service Account
f0baf8752e Merge "msm: camera: Enable encoded payload for RDI interface" into msm-3.0 2011-12-08 00:42:29 -08:00
Linux Build Service Account
e2cc08fa67 Merge "mfd: pm8921: Set PMIC PON reset detection time to 3 seconds" into msm-3.0 2011-12-08 00:42:29 -08:00
Sujit Reddy Thumma
4e239c0cbf fs: yaffs: Use deferable timer for background operations
Use deferable timer in background operations thread,
so that it won't cause unnecessary wakeups. Typically,
wakeups are seen in the range 60ms to 2secs (for HZ=100)
after the thread is scheduled out. In general, during this
delay the processor can go into sleep, if there is no other
activity. Since, the work done in this background operation
is not critical and can be handled as soon as when timer
expires and processor wakes up for other critical events,
we mark the timer responsible for wakeup of this thread
as deferable timer. Otherwise, the processor wakesup
unnecessarily to handle the background operations causing
higher power consumption in idle state.

Change-Id: Ic168525c6b33600ad23017d00ea9723cf8a738d2
Signed-off-by: Sujit Reddy Thumma <sthumma@codeaurora.org>
2011-12-08 12:01:55 +05:30
Mohan Pallaka
acdca0fc02 misc: isa1200: Reset gpios properly in error path
Change-Id: I835e5ea520fe2e745b741e9e106a461062018199
Signed-off-by: Mohan Pallaka <mpallaka@codeaurora.org>
2011-12-08 11:45:22 +05:30
Jay Chokshi
89489c3e48 power_supply: Add driver for LTC4088 Charger
LTC4088 is high efficiency USB powerpath controller
and Li-Ion/Polymer battery charger. This driver
enables the charger, allows to set current limits,
and detection.

Change-Id: I844431210cfd6e71d02fa7ffb730ee56d8417273
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
2011-12-07 19:00:30 -08:00
Willie Ruan
e6bee116fb power: core: add power supply APIs
Add two APIs, 1) set_current_limit API and 2) set_charging_by.
set_current_limit api is used for external control, such as for USB
driver to tell a charger driver the maximum current to draw.
set_charging_by is used to change the state of the charger.

Change-Id: I147eab37836b54627ca1458167eb117ba3eacd7a
Signed-off-by: Willie Ruan <wruan@codeaurora.org>
2011-12-07 19:00:30 -08:00
Laura Abbott
a683509211 gpu: ion: Add call back for unmapping user mappings
When mmap is called to remove a mapping, the mmap code
takes care of removing all the entries so it isn't
necessary to call unmap versions. However, there may be
cases where heaps need to do other buffer clean up when
a userspace buffer is unmapped. Add an unmap_user function
to the ion heap ops. This callback needs to happen in
vma_close, so move the decrementing of the overall user map
call back as well.

Change-Id: I8e5716774dd973828f76e03ec43e8e8ecf8c7936
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2011-12-07 15:07:01 -08:00
Laura Abbott
7716850941 gpu: ion: Incrememnt user refcount during vma_open/vma_close
Ion allows multiple mmaps of the same buffers. This means that
incrementing the usermap count in mmap and decrementing it in
release is not sufficient as release will only ever be called
once. Fix this by only doing the reference count change in the
vma_open and close which are called whenever mmap is called.

Change-Id: I6d17c0f563d0b90481d8e092c1e206f2b33c8e00
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2011-12-07 15:07:00 -08:00
Jeff Ohlstein
4d0bd4217b smp: change printks that occur every hotplug to pr_debugs
Hotplug occurs frequently enough on our targets that its messages are
clogging up the logs. There is no need for any messages to be printed
when hotplug is successful.

Change-Id: Icf213ab409ba428f39439f886cdf4c070a48bfbf
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
2011-12-07 13:12:14 -08:00
Heiko Carstens
45db69a9fd nohz: Remove "Switched to NOHz mode" debugging messages
When performing cpu hotplug tests the kernel printk log buffer gets flooded
with pointless "Switched to NOHz mode..." messages. Especially when afterwards
analyzing a dump this might have removed more interesting stuff out of the
buffer.
Assuming that switching to NOHz mode simply works just remove the printk.

Change-Id: I1746f8c0119a512055716c3fd77a966b735ca49b
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Link: http://lkml.kernel.org/r/20110823112046.GB2540@osiris.boeblingen.de.ibm.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
2011-12-07 13:12:14 -08:00
Bhalchandra Gajare
5ea376d909 ASoC: WCD9310: Turn off HPH DAC's before accessory insertion
The HPH PA's are turned OFF while setting up MBHC hardware for
insertion detection. It is also required to turn off the DAC's for
both HPH Left and Right channels.
Turning off HPH DAC's avoids probable fake insertion interrupts.

Change-Id: I73290a01739bd0872d8d3eaddf8666c43aa087a2
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2011-12-07 12:13:11 -08:00
Bhalchandra Gajare
c1e19c4437 ASoC: WCD9310: Pause headset polling before switching MBHC Mic Bias
With headset inserted and no recording, the MIC BIAS is switched to
VDDIO to avoid noise on Headphone due to button polling. When this
switch happens, it is required to pause the headset polling before
the switch and restart it again when the switch is done

This will make the MIC BIAS switch smooth and will avoid click/pop
noise that may happen during the switch

Change-Id: I092d1915b379173b88a38584bf1701cce833c9ae
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2011-12-07 12:12:54 -08:00
Bhalchandra Gajare
9494fa269e ASoC: WCD9310: Fix continous fake interrupt while partial headset insertion
When the headset is inserted more than three quarter inside, the tip
of headset plug just touches the HPH Left line on Headset jack. This
causes an interrupt, but is identified as fake insertion interrupt,
since the headset is still not completely inserted and the microphone
voltage has not settled. This happens continously because after detecting
fake insert, the current logic re-enables insertion detection interrupt.

Once the fake insert interrupt is triggered, the HPH left schmitt trigger
is turned OFF and the MIC line schmitt trigger is turned ON. Hence the
continous interrupts do not occur anymore. Further detection happens
based on MIC line schmitt trigger until the headset is either
completely inserted or completely removed.

CRs-Fixed: 317673
Change-Id: I58f0cd5c6e5ee56348013e585fbb455d4d73efaa
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2011-12-07 12:12:38 -08:00
Sathish Ambley
5244515f95 Revert "msm: timer: set timer0 base setting for default case"
This reverts commit 0a8273183b.

Change-Id: Ibf07f0e50b92345c928e71849280a701d5f063d9
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-12-07 12:05:38 -08:00
Sathish Ambley
7293a8373c msm: timer: Remove legacy timer iomap and interrupts
Remove iomaps and interrupt declarations for legacy timers
as these are no longer required after moving over to
ARM generic timer implementation.

Change-Id: Iadcbc0b9a1bfc173b0f87f5db8b5e4674ba68dfd
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-12-07 12:03:41 -08:00
Peter Liu
1db291dc07 msm: camera: kernel change for PCA test vector.
Change-Id: Iba36a660483d168fe4ed0c3c5d29e276b5359c70
Signed-off-by: Peter Liu <pingchie@codeaurora.org>
2011-12-07 11:56:27 -08:00