Commit Graph
259511 Commits
Author SHA1 Message Date
Steve Muckle 3e042dff0f msm: kgsl: create singlethread wq instead of per-cpu wq
There doesn't seem to be a need for a per-CPU workqueue - kgsl can
make do with a singlethread workqueue which consumes less resources
and does not pin work to specific CPUs.

Change-Id: I6f9bd368434797a05497be88c24a5b1645d2f221
Signed-off-by: Steve Muckle <smuckle@codeaurora.org>
2011-11-29 08:53:41 -08:00
Linux Build Service Account 700c9ccf06 Merge "msm: kgsl: Add CP_DRAW_INDX commands after a context save" into msm-3.0 2011-11-28 13:06:52 -08:00
Linux Build Service Account d2a12af76f Merge "msm_serial_hs: Fix runtime PM sleeping bug" into msm-3.0 2011-11-28 09:50:57 -08:00
Linux Build Service Account 5a528f1741 Merge "msm: board-qrd7627a: Convert vreg consumers to regulator API" into msm-3.0 2011-11-28 09:50:57 -08:00
Linux Build Service Account 5664505965 Merge "msm: pm-boot: Remove incorrect copyright year." into msm-3.0 2011-11-28 09:50:57 -08:00
Linux Build Service Account a3280a2cf2 Merge "msm: idle-v7: Add a isb between CCSELR write and CCSIDR read" into msm-3.0 2011-11-28 09:50:57 -08:00
kuogee hsieh 0948c68fe3 msm_fb: display: update mdp statistics
Update mdp4 statistic information so that it becomes
more useful during debug session.

Change-Id: I0b88428bc692c28284f9091e143f0cf10079225d
Signed-off-by: kuogee hsieh <khsieh@codeaurora.org>
2011-11-28 08:37:35 -08:00
Linux Build Service Account 3e1ed470b6 Merge "msm: trivial: 'chmod 644' for non-executable files" into msm-3.0 2011-11-28 01:13:02 -08:00
Linux Build Service Account 1e247a42d6 Merge "msm: smd_tty: Enable USB SMD driver for Dial up networking" into msm-3.0 2011-11-28 01:13:02 -08:00
Linux Build Service Account b76083c558 Merge "USB: ci13xxx_udc: Fix runtime PM sleeping bug" into msm-3.0 2011-11-28 01:13:02 -08:00
Linux Build Service Account 1db77465a8 Merge "defconfig: msm-copper: Add support for CPU hotplug" into msm-3.0 2011-11-28 01:13:02 -08:00
Maheshkumar Sivasubramanian 1d2b69cc6c msm: idle-v7: Add a isb between CCSELR write and CCSIDR read
An isb is required after a CCSELR write to ensure that write takes
effect before reading CCSIDR. Without an isb, CCSIDR read could
correspond to a random CCSELR register.

CRs-fixed: 320585
Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
Change-Id: Iab75cd5ff98cfdc0eeeb721ccd3b739ae1fcbd70
2011-11-27 11:34:15 -07:00
Linux Build Service Account 4b0f0d9b57 Merge "USB: gadget: android: Call gether_setup when RNDIS is selected" into msm-3.0 2011-11-26 15:56:23 -08:00
Linux Build Service Account 6886534566 Merge changes Id9b8570c,I6c849673,I30a1d8b5,I9d35b1a3 into msm-3.0
* changes:
  added G723 and G729
  Fixes for 1. fixes for comments recieved on alsa-devel
  compress: add the core file
  compress: add API header and driver header files
2011-11-26 15:56:23 -08:00
Linux Build Service Account defde9b5d8 Merge changes Iaf4cced5,I3f44eee1 into msm-3.0
* changes:
  compress: add compress parameter definations
  compress API documentation
2011-11-25 14:38:18 -08:00
Rajesh Babu Sarvepalli 09978c2407 msm: smd_tty: Enable USB SMD driver for Dial up networking
Userspace port-bridge will not be used on 7x27a or 7x25a.
Remove platform driver registrations to allow kernel space
USB SMD driver to own the "DS" channel.

Change-Id: Ic5300a75e4817b995e16f912d2054e63422572bf
Signed-off-by: Rajesh Babu Sarvepalli <rsarve@codeaurora.org>
2011-11-25 08:59:29 -07:00
Linux Build Service Account 324402e77e Merge "msm: 8660: Fail PMIC ID registration if ID line not routed to PMIC" into msm-3.0 2011-11-25 07:57:18 -08:00
Linux Build Service Account 3920c1d1c9 Merge "defconfig: msm7627: Enable Kernel Configurations for debugging" into msm-3.0 2011-11-25 07:57:18 -08:00
Linux Build Service Account 18f9ed37a3 Merge "msm: mdm: Enable the mdm2 driver on the 8960 cdp." into msm-3.0 2011-11-25 07:57:18 -08:00
Linux Build Service Account da001176ba Merge "msm:board-msm7x27a: Increase pmem for camera memory constraints" into msm-3.0 2011-11-25 07:57:18 -08:00
Linux Build Service Account b397fc4ac5 Merge "msm: Port 7x30 vreg.c consumers to regulator API" into msm-3.0 2011-11-25 07:57:18 -08:00
Linux Build Service Account 1f5faa3e2d Merge "msm: adsp: Changes for Co-located buffers patching." into msm-3.0 2011-11-25 06:35:55 -08:00
Mayank Rana 774fb74d46 msm_serial_hs: Fix runtime PM sleeping bug
Call pm_runtime_disable() function outside spin clock to
fix "sleeping function called from invalid context" bug.

Change-Id: I964ca09b1f8b1a984736df6b6d72d4b6cd6aed1e
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2011-11-25 16:53:15 +05:30
Roja Rani Yarubandi 81c0ab2ca8 msm:board-msm7x27a: Increase pmem for camera memory constraints
Increasing PMEM temporarily to allocate jpeg heap on pmem.
Once ASHMEM is working properly, this PMEM increase will be reverted.

Change-Id: Ia5b77c7222ac298b61f51f3c11965f3dfe938304
Signed-off-by: Roja Rani Yarubandi <rojay@codeaurora.org>
2011-11-25 16:17:11 +05:30
Saikumar Kondaparthi 7821dbc142 msm: adsp: Changes for Co-located buffers patching.
Generalize the address patching of the H264 co-locate
motion vector buffers.

Change-Id: I5dfa71f0cac857fdab6c63bf0a59e4c0e24df76f
Signed-off-by: Saikumar Kondaparthi <saikumar@codeaurora.org>
2011-11-25 11:18:14 +05:30
Manu Gautam f474113b10 USB: gadget: android: Call gether_setup when RNDIS is selected
Userspace code can rely on RNDIS network interface to added
or removed at runtime when a composition with RNDIS is selected.
Allow this by moving the gether_setup call to bind_config.
Also change the name of network device to rndis0 from usb0.

Change-Id: Id2ef849ca9738f3c34e3e4543b95f3468f15f159
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2011-11-25 10:44:40 +05:30
Manu Gautam 62158eb87f msm: 8660: Fail PMIC ID registration if ID line not routed to PMIC
Fail PMIC ID registration if ID line is not routed to PMIC on
8660 V2 FFA. Based on the failure, drivers can decide to use PHY
interrupts for ID.

Change-Id: I2ebc87de8fd0928a0ab2f2ed5bf044b57de89949
Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
2011-11-25 08:29:57 +05:30
Joel King b8352a1264 msm: mdm: Enable the mdm2 driver on the 8960 cdp.
Add resources for the mdm2 driver on the 8960 cdp
target.

Change-Id: I253e8de0428c07f364321a4e60f5a5231029f311
Signed-off-by: Joel King <joelking@codeaurora.org>
2011-11-24 08:26:55 -08:00
Ajay Singh Parmar 0fc5d36176 msm_fb: hdmi_msm: Add support for audio sample rate change.
This patch provides the support for changing the sample rate
dynamically.

Change-Id: I973e5240e6f545b85ab2872aa0786b2d80ee2d2f
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2011-11-24 09:07:52 -07:00
Linux Build Service Account ebf5c9c3a2 Merge "msm_fb: Check for ACP and ACFG register before reset core." into msm-3.0 2011-11-24 04:18:05 -08:00
Linux Build Service Account a8ad107cf2 Merge "pmem: Check for valid virtual address while flushing" into msm-3.0 2011-11-23 19:51:38 -08:00
Linux Build Service Account 7eb62b360d Merge changes I80c4e153,I6c154a3c into msm-3.0
* changes:
  msm: smd_tty: Check the device is open before scheduling tasklets
  msm: smd_tty: Reset the open flag in close operation
2011-11-23 19:51:38 -08:00
Linux Build Service Account 935073d6ce Merge "ASoC: WCD9310: Fix button polling frequency for tabla 2.0" into msm-3.0 2011-11-23 19:51:38 -08:00
Linux Build Service Account 3ee796129c Merge "msm: 9615: Add USB Host support to defconfig" into msm-3.0 2011-11-23 19:51:38 -08:00
Pavankumar Kondeti 9885328d7f USB: ci13xxx_udc: Fix runtime PM sleeping bug
Call pm_runtime_get_sync() and pm_runtime_put_sync() functions outside
spin lock to fix "sleeping function called from invalid context" bug.

Change-Id: Ib96797743f40d6f8e33a0c954f096a4afdd86fe3
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2011-11-24 09:09:23 +05:30
Linux Build Service Account 69179f5cdb Merge changes Id365f59c,Icee3c006 into msm-3.0
* changes:
  ASOC: msm: Fix suspend/resume bug in WM8903 driver
  SoC: msm8660-apq-wm8903: Add audio recording to dragonboard
2011-11-23 18:39:26 -08:00
Linux Build Service Account c7975c3c8f Merge "msm: mdm: Add mdm2 driver." into msm-3.0 2011-11-23 18:39:26 -08:00
Mahesh Sivasubramanian f2d6eb85b4 msm: pm-boot: Remove incorrect copyright year.
pm-boot.c was added in 2011. However the original file had incorrectly
included 2010 as a copyright year.

Change-Id: Ia39a288e48efa932493ff9f172f6a54d32017e6b
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
2011-11-23 17:16:37 -07:00
Linux Build Service Account e22560411b Merge "power: pm8921-charger: make chg removal update battery supply" into msm-3.0 2011-11-23 14:51:07 -08:00
Linux Build Service Account 2ff248fb09 Merge "msm: camera: Remove deprecated APIs" into msm-3.0 2011-11-23 14:51:07 -08:00
Linux Build Service Account 949f865008 Merge "hrtimer: remove timerqueue node before reprogramming clockevent device" into msm-3.0 2011-11-23 14:51:07 -08:00
Linux Build Service Account 8f6490befb Merge "ARM: GIC: move gic_chip_data structure declaration to header" into msm-3.0 2011-11-23 14:51:07 -08:00
Linux Build Service Account 9f1350d5da Merge "ASoC: dsp: Decrement Backend only when state is SND_SOC_DSP_LINK_STATE_FREE" into msm-3.0 2011-11-23 14:51:07 -08:00
Joel King b6f0f61469 msm: mdm: Add mdm2 driver.
This is a re-organized version of the charm driver.
Instead of hardcoding the gpio values, they are now passed
in via platform resources. Also, functions that are common
between the old and new drivers are separated out into
a common file.

Change-Id: Iaafeb27a6056a3cb6572410c08e7f31fae117662
Signed-off-by: Joel King <joelking@codeaurora.org>
2011-11-23 14:39:55 -08:00
Bhalchandra Gajare fabb877fb9 ASoC: WCD9310: Fix button polling frequency for tabla 2.0
For tabla version 1.0 the button press voltage threshold is
12 bit value whereas for tabla version 2.0 it is a 16-bit value.
Fix by always updating the 16-bit value, since tabla 1.0 will
just ignore the most significant 4 bits.

Change-Id: Ia421d73dddb7a192e1b51c78952ec77fab46c373
Signed-off-by: Bhalchandra Gajare <gajare@codeaurora.org>
2011-11-23 14:07:06 -08:00
Abhijeet Dharmapurikar 0c4bc15bbc power: pm8921-charger: make chg removal update battery supply
Removing USB or DC will stop charging, this change in battery state
needs to notified to the userspace.

Invoke power_supply_changed on battery powersupply when a charger
insertion or removal happens.

Change-Id: I7688dfbc3eab6e853667c9bb356c566dd30352f7
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
2011-11-23 11:49:59 -07:00
Subhash Jadavani 758cf8c75f mmc: msm_sdcc: use auto_prog_done with CMD24 (single block write)
SDCC4 controller has added support of auto_prog_done (automatic
programming done indication) for both single and multi block
write commands. MSM SDCC driver is already making use of this
capability for multi block write commands. This change extends
the use of this capability for single block write commands as well.

Change-Id: Ia6e841705bab24d2867fc8298a85eb40d81bb191
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2011-11-23 11:29:30 -07:00
Shubhraprakash Das 3598b2eec7 msm: kgsl: Add CP_DRAW_INDX commands after a context save
Issue an empty draw call to avoid possible hangs due to
repeated idles without intervening draw calls.
On adreno 225 the PC block has a cache that is only
flushed on draw calls and repeated idles can make it
overflow if there are not intervening draw calls.
The gmem save path contains draw calls so this workaround
isn't needed there.

CRs-Fixed: 316084
CRs-Fixed: 317712
Change-Id: I280468b61fd3a6b6ffb30a1cdf118399f115f0dd
Signed-off-by: Shubhraprakash Das <sadas@codeaurora.org>
2011-11-23 10:33:19 -07:00
Sathish Ambley 74767be6fb defconfig: msm-copper: Add support for CPU hotplug
Turn CONFIG_HOTPLUG_CPU on to allow secondary CPUs to be
taken online/offline.

Change-Id: I5acb4d3648e35efcca24ae86098bf2829229c024
Signed-off-by: Sathish Ambley <sambley@codeaurora.org>
2011-11-23 09:22:48 -08:00
Linux Build Service Account e1e7e660fd Merge "power: pm8921-charger: Add ext batt state reporting" into msm-3.0 2011-11-23 09:13:58 -08:00