Commit Graph

257309 Commits

Author SHA1 Message Date
Helen Zeng
0f4c4e2dca ASoC: msm: qdsp6: Print message only when string is not NULL
Solve the crash which may be caused by NULL name in
voc_get_session_id function.

CRs-fixed: 310289
Signed-off-by: Helen Zeng <xiaoyunz@codeaurora.org>
2011-10-11 09:59:28 -07:00
Ravishangar Kalyanam
e17a2ddc10 msm_fb: display: Fix display driver init calls for auto-detection
Fix display driver init calls for auto-detection logic to
avoid initialization of panel drivers that are not selected for
loading through fastboot

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2011-10-11 09:59:28 -07:00
Gagan Mac
1d5ea0fe7c msm: 8960: Enable Multi-tiering support on 8960
This patch enables multi-tiering support on 8960.

Signed-off-by: Gagan Mac <gmac@codeaurora.org>
2011-10-11 09:59:27 -07:00
Jeff Ohlstein
d17ee76eb4 msm: timer: make first_boot flag per-cpu
Previously we would only setup the local timer properly on one cpu,
since we relied on a one-use flag for this purpose, and it was not
per-cpu. Make it per-cpu so each cpu initializes its timer.

Signed-off-by: Jeff Ohlstein <johlstei@codeaurora.org>
2011-10-11 09:59:27 -07:00
Maheshkumar Sivasubramanian
4923db20b5 msm: board-9615: Add support for cpuidle and pm
Add device declarations for cpuidle and pm to the 9615 board file.

Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
2011-10-11 09:59:27 -07:00
Maheshkumar Sivasubramanian
74b6880e29 msm: msm9615_defconfig: Enable CONFIG_PM and CONFIG_CPU_IDLE
Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
2011-10-11 09:59:27 -07:00
Maheshkumar Sivasubramanian
e2fc3f6613 msm: Makefile: Compile pm-8x60.c and cpuidle for 9x15
Check to compile SCM related code only when CONFIG_MSM_SCM is defined.

Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
2011-10-11 09:59:27 -07:00
Deepak Kotur
f6d94f2458 vidc: venc: Return the correct error code for IOCTL.
When ioctl fails for VEN_IOCTL_CMD_READ_NEXT_MSG
send the correct return value to userspace.

CRs-fixed: 310431
Signed-off-by: Deepak Kotur <dkotur@codeaurora.org>
2011-10-11 09:59:27 -07:00
Maheshkumar Sivasubramanian
c71d8ff4b4 arm: cache-l2x0: Restore the data latency ctrl register after suspend.
Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
2011-10-11 09:59:27 -07:00
Maya Erez
d7a5acf25c msm: sdio: expose SDIO_CIQ channel for test application
Due to sdio tests for modem reset the CIQ test application
could no longer run in sdio_al test mode. This change will
allow both CIQ test application and CIQ sdio tests to
run in SDIO test mode.

Signed-off-by: Maya Erez <merez@codeaurora.org>
2011-10-11 09:59:26 -07:00
Gagan Mac
6dcc6704f3 msm: msm_bus: Correctly validate the pointer to fabrics
Correct the if condition checking for validity
of the pointer to the fabric data structure.

Signed-off-by: Gagan Mac <gmac@codeaurora.org>
2011-10-11 09:59:26 -07:00
Larry Bassel
f74479e5e7 msm: enable CONFIG_ARCH_POPULATES_NODE_MAP on 8960
This needs to be enabled so that the movable zone
may be placed exactly where the unstable memory is
in forthcoming patches.

Signed-off-by: Larry Bassel <lbassel@codeaurora.org>
2011-10-11 09:59:26 -07:00
Eric Holmberg
2a563c34c4 msm: smd: Fix Modem-FW subsystem restart support
Completely close Modem SW<->Modem FW edge in SMD
if the modem is restarted since Modem SW and
Modem FW are considered to be a single subsystem
for subsystem restart.

Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
2011-10-11 09:59:26 -07:00
Tianyi Gou
621f8741a4 msm: clock-8960: Add support for 8064 multimedia clocks
Add most multimedia clocks and more clocks including csi0_clk,
gfx3d_axi_clk, csi_pix_clk, csi_rdi_clk, tv domain clocks,
gfx3d_clk@325MHz will be added in later patch.

Signed-off-by: Tianyi Gou <tgou@codeaurora.org>
2011-10-11 09:59:26 -07:00
Swaminathan Sathappan
83e244655a msm: audio: qdsp6v2: Set tx and rx flags based on current device
Add error checks in device enabling and disabling for rx and
tx paths; Modify tx and rx flags based on current active device

CRs-fixed: 309437
Signed-off-by: Swaminathan Sathappan <Swami@codeaurora.org>
2011-10-11 09:59:26 -07:00
kuogee hsieh
e1ed1ae1d4 msm_fb: display: vg pipe shared by both rgb and yuv format
VG pipe can carry both RGB and YUV format. This patch  will
allow VG pipe to switch between RGB and YUV format.

Signed-off-by: Kuogee Hsieh <khsieh@codeaurora.org>
2011-10-11 09:59:25 -07:00
Laura Abbott
354120303a gpu: ion: Add IS_CACHED macro
Add a proper IS_CACHED macro for detecting whether or not
flags indicated a cached mapping.

Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
2011-10-11 09:59:25 -07:00
Stepan Moskovchenko
2fee20e30b defconfig: Enable KS8851 SPI Ethernet as a module
Signed-off-by: Stepan Moskovchenko <stepanm@codeaurora.org>
2011-10-11 09:59:25 -07:00
Jay Chokshi
898340fb21 mfd: pmic: Fix memory leak in debug probe
Free the debug device allocated before an
unsuccessful exit, both in pmic8058 and
pmic8901.

CRs-fixed: 308192
Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
2011-10-11 09:59:25 -07:00
Jay Chokshi
610f5d1285 mfd: pm8xxx: Free the mutex before probe exit
Avert a possible memory leak at non-successful
exit from debug probe. Free the initialized mutex.

Signed-off-by: Jay Chokshi <jchokshi@codeaurora.org>
2011-10-11 09:59:25 -07:00
Harini Jayaraman
8c1abb1d8d spi_qsd: GPIO configuration changes for SPI chip-select line
The chip-select GPIO's pertaining to each slave remains in suspended
configuration until the first transfer is intiated by the slave.

Signed-off-by: Harini Jayaraman <harinij@codeaurora.org>
2011-10-11 09:59:25 -07:00
Michael Bohan
2f090af83e msm_charger: Fix race condition with battery supply
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2011-10-11 09:59:25 -07:00
Suren Eda Naarayana Kulothungan
dc6f0198ef msm: defconfig: Enable Oprofile and cpaccess by default for
7x27a.

Signed-off-by: Suren Eda Naarayana Kulothungan <sedanaar@codeaurora.org>
2011-10-11 09:59:24 -07:00
Maheshkumar Sivasubramanian
f07bd0b5fd msm: devices-9615: Initialize SPM registers for 9615
Signed-off-by: Maheshkumar Sivasubramanian <msivasub@codeaurora.org>
2011-10-11 09:59:24 -07:00
Amy Maloche
5226221101 input: atmel_mxt_ts: put device in LPM from T7 and T9
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
2011-10-11 09:59:24 -07:00
Peter Krystad
462bf76d29 Bluetooth: Guarantee BR-EDR device will be registered as hci0
Signed-off-by: Peter Krystad <pkrystad@codeaurora.org>
2011-10-11 09:59:24 -07:00
Lakshmi Narayana Kalavala
5a9b2044d5 msm: camera: Fix register offsets and add toggle bank selects
1. Correct the address offsets for MCE and Linearization
configurations
2. Add Update commands for Luma adaptation and Gamma
3. Add logic to toggle bank selects for Luma adaptation and Gamma

Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2011-10-11 09:59:24 -07:00
Ravishangar Kalyanam
4dd9abee47 defconfig: msm8660: Enable LCDC_MIPI_DETECT config
Enable LCDC_MIPI_DETECT config common for all LCDC and MIPI
panels supported on 8660 target

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2011-10-11 09:59:24 -07:00
Ravishangar Kalyanam
c719c541d8 msm_fb: display: Add boot param LCDC/MIPI panel detection support
Add boot param LCDC/MIPI panel detection support for automatically
loading selected panels through fastboot command

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2011-10-11 09:59:23 -07:00
Ajay Singh Parmar
eede70ef6d msm_fb: display: 7x27a support for panel auto detection.
Adding support for LCDC and MIPI panels auto detection
using boot params. If no boot params are given, default
MIPI CMD FWVGA Renesas gets picked up.

Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2011-10-11 09:59:23 -07:00
Ravishangar Kalyanam
61a7bd107a board: msm8x60: Add LCDC and MIPI panel detection support
Add LCDC and MIPI panel detection support for panels
supported by 8660 target

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>

Conflicts:

	arch/arm/mach-msm/board-qrdc.c
	arch/arm/mach-msm/board-qt8660.c
2011-10-11 09:59:23 -07:00
Ravishangar Kalyanam
f8e2195b54 board: msm8960: Add MIPI panel detection support
Add MIPI panel detection support for different
panels supported by 8960 target

Signed-off-by: Ravishangar Kalyanam <rkalya@codeaurora.org>
2011-10-11 09:59:23 -07:00
Stephen Boyd
3d215a0123 msm: acpuclock-8960: Temporarily disable secondary clock gating
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-10-11 09:59:23 -07:00
Ranjhith Kalisamy
823c14810e msm: kgsl: Debugfs knob to configure wait timeout of adreno device
There are times when the adreno device is heavily loaded. Here, a
predetermined wait timeout value will not be useful. The configurability
introduced with this change will help in understanding the behaviour and
to tune the value. Will also be helpful in quickly identifying problems
that arise when the irqs don't fire.

Signed-off-by: Ranjhith Kalisamy <ranjhith@codeaurora.org>
2011-10-11 09:59:23 -07:00
Linux Build Service Account
5ec7cbebdd Merge "kernel: prevent unnecessary rebuilding due to config_data.gz" into msm-3.0 2011-10-11 09:26:46 -07:00
Linux Build Service Account
3d849916b0 Merge "arm: Fix a compilation error for the omap2plus defconfig." into msm-3.0 2011-10-11 09:26:46 -07:00
Linux Build Service Account
8150722eb9 Merge "msm: sdio: fix modem reset and card removal race condition" into msm-3.0 2011-10-11 09:26:46 -07:00
Bryan Huntsman
7421a83e89 Merge "msm: devices: Initialize MPM irq extensions for MSM9615" into msm-3.0 2011-10-10 15:00:14 -07:00
Bryan Huntsman
3cbdedd035 Merge "defconfig: Enable BT power control module in 3.0 kernel" into msm-3.0 2011-10-10 14:59:49 -07:00
Bryan Huntsman
6daf642b3f Merge "rtc: rtc-pm8058: port driver to 3.0" into msm-3.0 2011-10-10 14:59:28 -07:00
Bryan Huntsman
75ac515def Merge "msm: gpio-v2: Add missing gpio_chip label" into msm-3.0 2011-10-10 14:59:13 -07:00
Michael Bohan
cb5a3cc5e6 rtc: rtc-pm8058: port driver to 3.0
The pm_chip pointer comes from the parent, so use that rather
than the local drvdata when probing.

In addition, in 3.0, upon registration Linux will immediately
call back into the driver. Therefore we must register the local
rtc driver data with the driver data *before* registering.

With this change the rtc_test test passes.

Change-Id: I1310f6eec1015d26b919907e430c715efe5c1091
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2011-10-10 10:37:40 -07:00
Rahul Kashyap
e5e6772745 defconfig: Enable BT power control module in 3.0 kernel
Change-Id: Idb8fc9bbd2690c096fb27a43c66ec635f5da5748
Signed-off-by: Rahul Kashyap <rkashyap@codeaurora.org>
2011-10-10 12:47:44 +05:30
Rohit Vaswani
b2e42e1967 msm: devices: Initialize MPM irq extensions for MSM9615
Initialize the mpm irq callbacks, so that the mpm
can be programmed for wakeup interrupts.

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
Change-Id: I43611f35cc6fb9ec9539f4a86c84984dc55593e3
2011-10-09 17:10:44 -07:00
Maya Erez
0fdb5ade0c msm: sdio: fix modem reset and card removal race condition
In cases where the modem HW watchdog causes a modem reset
we can get a card removal event in the middle of modem
reset event.

Change-Id: Ieef2f463f916054b16c8c0d02bf5cf775852ac06
Signed-off-by: Maya Erez <merez@codeaurora.org>
2011-10-09 19:16:27 +02:00
Michael Bohan
fedb2430b9 msm: gpio-v2: Add missing gpio_chip label
This label is expected by our unit tests.

Change-Id: Ibfbecbf95fde317dd3dd96c0e772ab4742bc2126
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2011-10-07 16:15:48 -07:00
Peter Foley
32a41b2cd1 kernel: prevent unnecessary rebuilding due to config_data.gz
When IKCONFIG is built-in make oldconfig will cause the kernel to be
relinked even if .config didn't change. This happens because of a
config_data.gz dependency on .config. This patch changes the if_changed
to a filechk so that config_data.h is only rebuilt when the contents
have actually changed.

Change-Id: I0c907b5312e1059352a0afff688d8e015dec6bed
Signed-off-by: Peter Foley <pefoley2@verizon.net>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
2011-10-07 10:46:08 -07:00
Rohit Vaswani
550aa1ab4b arm: gic: create empty stub gic_set_wake when !CONFIG_PM
Return success when CONFIG_PM is not defined instead of
returning failure.

Change-Id: Ibbdde7460d68d49d0554d88d77ddef3bec01508c
Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
2011-10-06 21:25:33 -07:00
Naveen Ramaraj
87051317b3 arm: Fix a compilation error for the omap2plus defconfig.
Add a missing header include to fix a compilation error for
omap2plus_defconfig on msm-3.0 tree.

Change-Id: I9ea45910651ef63258c90035bb9b5480c52ffe01
Signed-off-by: Naveen Ramaraj <nramaraj@codeaurora.org>
2011-10-06 12:11:55 -07:00
Michael Bohan
98f5fd413f power: bq27520: Gauge registration should be done in probe
Change-Id: Ifaea09984a323f781a1168876bcc52da141f564f
Signed-off-by: Michael Bohan <mbohan@codeaurora.org>
2011-10-06 09:28:58 -07:00