Commit Graph

121897 Commits

Author SHA1 Message Date
Subhash Jadavani
c2aa082e66 mmc: msm_sdcc: remove CONFIG_MMC_MSM_SDIO_SUPPORT completely
CONFIG_MMC_MSM_SDIO_SUPPORT config option was added
to indicate that host controller is capable of detecting
SDIO operational interrupt. But all the current SDCC
HW revisions support the SDIO operational interrupt
detection, there is no need of this config option any more.

Change-Id: I708ddf5b14286f94853d47bbbcee426b12cb9d85
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2012-04-11 14:41:33 +05:30
Subhash Jadavani
6bba0a54ea mmc: msm_sdcc: remove CONFIG_MMC_MSM_SDIO_SUPPORT featurization
CONFIG_MMC_MSM_SDIO_SUPPORT config option was added
to indicate that host controller is capable of detecting
SDIO operational interrupt. But all the current SDCC
HW revisions support the SDIO operational interrupt
detection, this config option is going to be removed.
So this patch removes any code featurization using this
config.

Change-Id: I9768b5b8e089d4b1e57c09d6b364de6daf32e54d
Signed-off-by: Subhash Jadavani <subhashj@codeaurora.org>
2012-04-11 14:41:18 +05:30
Linux Build Service Account
a5f0a047f5 Merge "msm_fb: HDMI: Enable SPD InfoFrame transmission" into msm-3.0 2012-04-11 00:13:14 -07:00
Linux Build Service Account
3ad27c44d1 Merge "msm: camera: Fixed memory leak and added NULL check" into msm-3.0 2012-04-11 00:12:57 -07:00
Linux Build Service Account
95ad513f17 Merge "msm_serial_hs: Release wakelock in case of failure case" into msm-3.0 2012-04-10 22:28:48 -07:00
Linux Build Service Account
8ac12c6000 Merge "radio: iris: Implement new radio IOCTLs." into msm-3.0 2012-04-10 20:15:14 -07:00
Linux Build Service Account
0a2f143618 Merge "msm: kgsl: Stop the device during sleep" into msm-3.0 2012-04-10 20:15:05 -07:00
Linux Build Service Account
a4a5b07ebb Merge "usb: gadget: fix USBCV - Chapter 9 test failure" into msm-3.0 2012-04-10 20:14:52 -07:00
Aravind Venkateswaran
fff7a7d207 msm_fb: HDMI: Enable SPD InfoFrame transmission
Sinks use the information in the SPD InfoFrame to get
the vendor name and the product information of the source
device. This change adds the ability to specify this
information and transmit the data as part of the SPD
InfoFrame.

Change-Id: Iff3db2e21cc30cdcc18787de5fd83c6a0790794e
Signed-off-by: Aravind Venkateswaran <aravindh@codeaurora.org>
2012-04-10 17:02:46 -07:00
Mayank Rana
679436ebc7 msm_serial_hs: Release wakelock in case of failure case
msm_hs_init_clk() function is not releasing acquire wakelock
in case of uartclk enable is failing. Hence handle this case
and also correct the error handling in msm_hs_startup function
to release the acquire resources if any error condition encounter.

CRs-Fixed: 348734
Change-Id: Iba822a0bb36f8a6b78279574119bae6db4308c86
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2012-04-11 03:45:17 +05:30
Linux Build Service Account
77c8500664 Merge changes Ic0dedbad,Ic35e6fbf,Ibf3c6d1e into msm-3.0
* changes:
  msm: kgsl: Use kzalloc to allocate scatterlists of 1 page or less
  msm: kgsl: fix 2d IB processing
  msm: kgsl: rework ib checking
2012-04-10 14:39:52 -07:00
Linux Build Service Account
79d3ed2420 Merge "usb: gadget: MBIM function driver for QCOM chipsets" into msm-3.0 2012-04-10 14:39:46 -07:00
Linux Build Service Account
6d4f7796ba Merge "msm: camera: Add flash source support for ov5647" into msm-3.0 2012-04-10 09:10:56 -07:00
Linux Build Service Account
a5b3b15c03 Merge "radio-tavarua: Configure the search direction value as passed by FM APP" into msm-3.0 2012-04-10 09:10:51 -07:00
Anna Perel
a8c991d548 usb: gadget: MBIM function driver for QCOM chipsets
This driver implements Mobile Broadband Interface Model protocol.
Control messages are transferred through QBI module
running in user space and communicating with mbim
using file operations interface android_mbim.
Data is transferred on SPS, Bam-to-Bam.

Change-Id: Ifc4b3f7e21b1a0dac377af272f9ae922ec9c7e2e
Signed-off-by: Anna Perel <aperel@codeaurora.org>
2012-04-10 15:59:06 +03:00
Linux Build Service Account
23aedd6cb9 Merge "video: msm: wfd: Delete from free_queue before freeing memory" into msm-3.0 2012-04-10 05:07:14 -07:00
Linux Build Service Account
740cdbd7e7 Merge "msm: camera: Sensor sequence change in Makefile" into msm-3.0 2012-04-10 05:07:13 -07:00
Linux Build Service Account
e6f546f7e0 Merge "msm: kgsl: Use highest perf level on wake-up from sleep" into msm-3.0 2012-04-10 05:07:07 -07:00
Linux Build Service Account
6da6605fde Merge "msm: camera: Fix for ZSL vfe configuration" into msm-3.0 2012-04-10 05:07:04 -07:00
Linux Build Service Account
119ce6d97f Merge "diag: Edit event mask responses" into msm-3.0 2012-04-10 05:07:03 -07:00
Linux Build Service Account
703585148a Merge "msm: kgsl: Do not dereference pointer before checking against NULL" into msm-3.0 2012-04-10 03:08:51 -07:00
Linux Build Service Account
2d7754a796 Merge "msm: kgsl: Cleanup header file macros" into msm-3.0 2012-04-10 03:08:41 -07:00
Linux Build Service Account
eac8064382 Merge "msm: kgsl: Allocate physical pages instead of using vmalloc" into msm-3.0 2012-04-10 03:08:37 -07:00
Linux Build Service Account
adbb3c82f0 Merge "video: msm: wfd: Add debugfs support" into msm-3.0 2012-04-10 03:08:27 -07:00
Linux Build Service Account
e76326519b Merge "platform-drivers: msm: sps: return number of unused descriptors" into msm-3.0 2012-04-10 03:08:20 -07:00
Raju P.L.S.S.S.N
bf3faffaa0 msm: camera: Add flash source support for ov5647
The flash support for ov5647 (back sensor) on 8x25 target

Change-Id: I2f431174dea37f83c5a555d394f15419fdccd3f3
Signed-off-by: Raju P.L.S.S.S.N <rplsssn@codeaurora.org>
2012-04-10 15:07:01 +05:30
Linux Build Service Account
55b0fe4f8a Merge "Revert "Revert "msm: display: Backlight control on 8x25 EVB""" into msm-3.0 2012-04-10 00:22:18 -07:00
Jeyaprakash Soundrapandian
94b8fc3759 msm: camera: Fixed memory leak and added NULL check
1. Dynamic memory stored in cofig_cam allocated through
function kzalloc can be lost in the error cases. Hence
common error handling along with de-allocation is added.
2. Pointer ctrl checked for NULL and returned on NULL.

Change-Id: I53ca31159507a3bc059507cdfda897028a241065
Signed-off-by: Jeyaprakash Soundrapandian <jsound@codeaurora.org>
2012-04-09 17:05:24 -07:00
Lynus Vaz
fe4bede74b msm: kgsl: Stop the device during sleep
For 7x27, 7x27A and 7x25A, stop the kgsl device during sleep.This
improved PDT stability results and 72hrs stability on customer devices.

Change-Id: I2f0941080363b06b3a0ead59daf0ef3659000b49
Signed-off-by: Lynus Vaz <lvaz@codeaurora.org>
Signed-off-by: Sudhakara Rao Tentu <srtentu@codeaurora.org>
2012-04-09 15:56:15 -07:00
Jordan Crouse
a652a07b0d msm: kgsl: Use kzalloc to allocate scatterlists of 1 page or less
The majority of the scatterlist allocations used in KGSL are under 1
page (1 page of struct scatterlist is approximately 1024 entries
equalling 4MB of allocated buffer).  In these cases using vmalloc
for the sglist is undesirable and slow.  Add functions to check the
size of the allocation and favor kzalloc for 1 page allocations and
vmalloc for larger lists.

Change-Id: Ic0dedbad99b60111677dd56b74edd8cedcac17f0
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2012-04-09 15:50:09 -06:00
Jeremy Gebben
d27b09f388 msm: kgsl: fix 2d IB processing
The 2d hardware handles ringbuffer and IB commands as
a series of gotos. At the end of each IB, there must
be a goto command back to the ringbuffer, which must
be "monkey patched" into the IB by the driver.
Fix this code to use a proper kernel mapping.

Change-Id: Ic35e6fbf6baeef51dbc2497f1702c7ccd6997579
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2012-04-09 15:50:09 -06:00
Harsh Vardhan Dwivedi
8cb835b656 msm: kgsl: Allocate physical pages instead of using vmalloc
Replace vmalloc allocation with physical page allocation. For most
allocations we do not need a kernel virual address. vmalloc uses up
the kernel virtual address space. By replacing vmalloc with physical
page alloction and mapping that allocation to kernel space only
when it is required prevents the kgsl driver from using unnecessary
vmalloc virtual space.

Change-Id: Idc716c8366f837f06a61b154deacec65a3a0662e
Signed-off-by: Harsh Vardhan Dwivedi <hdwivedi@codeaurora.org>
2012-04-09 15:50:08 -06:00
Jeremy Gebben
d0ab6adeea msm: kgsl: rework ib checking
Separate ib parse checking from cffdump as it is useful
in other situations. This is controlled by a new debugfs
file, ib_check. All ib checking is off (0) by default,
because parsing and mem_entry lookup can have a performance
impact on some benchmarks. Level 1 checking verifies the
IB1's. Level 2 checking also verifies the IB2.

Change-Id: Ibf3c6d1e0d7522e75b41e1a6dbb92020ae9ace8d
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2012-04-09 15:50:08 -06:00
Deva Ramasubramanian
e2aa76492c video: msm: wfd: Add debugfs support
Added debugfs support on a per device basis located at
/<debugfs-root>/wfd/<device-minor-number>

Change-Id: I571885c4321a5e76f40f6e773b00e67fd25acb44
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2012-04-09 14:50:06 -07:00
Shalabh Jain
a51f259290 diag: Edit event mask responses
This change rectifies incorrect handling of event mask requests.
PC tools send in requests like x60, x82 for diag events traffic.
x60 requires all event states to be toggled and x82 command
requires present status in its reponse.

Change-Id: I37aa51ef1e19f5a803c60e5a6f7b3b5c8776b3ff
Signed-off-by: Shalabh Jain <shalabhj@codeaurora.org>
2012-04-09 13:04:04 -07:00
Deva Ramasubramanian
5f868a449e video: msm: wfd: Delete from free_queue before freeing memory
VSG has a stale pointer to deallocated memory that is accessed, causing
a page fault.

Change-Id: I036293950795f601c0592c39b6da20d3c0cbb77f
CRs-Fixed: 348977
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
2012-04-09 12:39:55 -07:00
Yan He
ce596c19ff platform-drivers: msm: sps: return number of unused descriptors
Client driver has a new feature requirement to acquire the number
of unused descriptors in the descriptor FIFO of a pipe; Add this
support in SPS driver.

Change-Id: Idf02308f6011973c2ad4fea2a50134b48062b953
Signed-off-by: Yan He <yanhe@codeaurora.org>
2012-04-09 09:15:15 -07:00
Linux Build Service Account
3cd338619a Merge "Revert "USB: gadget: Enable streaming mode support in hardware"" into msm-3.0 2012-04-09 08:47:57 -07:00
Anantha Krishnan
75b90b2359 radio-tavarua: Configure the search direction value as passed by FM APP
Do not invert the values passed for the search direction.
Configure the value of search direction as passed from the user-space.

Change-Id: I93e14cc9e309e2e9429768e289c594003954cfe3
CRs-Fixed: 340401
Signed-off-by: Anantha Krishnan <ananthk@codeaurora.org>
2012-04-09 20:35:08 +05:30
Padmanabhan Komanduru
bea9c06d44 Revert "Revert "msm: display: Backlight control on 8x25 EVB""
Enable backlight control on 8x25 EVB for WVGA panel.

This reverts commit 75cf6b84b3.

CRs-fixed: 339158
Change-Id: Ice8426442c9d82a7316dfd4d812e9f6301a97850
Signed-off-by: Padmanabhan Komanduru <pkomandu@codeaurora.org>
2012-04-09 12:32:19 +05:30
Linux Build Service Account
b2938b9ba3 Merge "msm_serial_hs: Fix the issue with device unregister/register" into msm-3.0 2012-04-08 07:20:33 -07:00
Linux Build Service Account
0a356dcefa Merge "msm_fb: display: MSM V4l2 video overlay driver" into msm-3.0 2012-04-08 01:25:55 -07:00
Linux Build Service Account
a82a933d55 Merge "video: msm: wfd: Allow client to specify multiple slices per frame" into msm-3.0 2012-04-07 23:31:21 -07:00
Linux Build Service Account
0edb882b54 Merge "qup_i2c: Set the clock rate before enabling the clock." into msm-3.0 2012-04-07 20:11:32 -07:00
Alhad Purnapatre
c55856c548 msm_fb: display: MSM V4l2 video overlay driver
Provides a V4L2 device that uses the MDP overlay pipes (on MDP4),
or the PPP interface (MDP3) to overlay frames on top of display
framebuffer.

Signed-off-by: Alhad Purnapatre <alhadp@codeaurora.org>
Change-Id: Iab69d0a5acfe993d13cb7a585e292b9a87eb90ee
2012-04-07 17:06:38 -07:00
Linux Build Service Account
ee2c76e889 Merge "msm_fb: hdmi: CEC re-transmission improvements." into msm-3.0 2012-04-07 05:46:00 -07:00
Linux Build Service Account
73d8d0b15d Merge "msm: kgsl: Add KGSL_IOCTL_SETPROPERTY" into msm-3.0 2012-04-07 05:45:58 -07:00
Ajay Singh Parmar
aabbf2b21c msm_fb: hdmi: CEC re-transmission improvements.
Adding some improvements to HDMI CEC code flow to
reduce the risk of system crash and compliance
failure by proper CEC resiters settings and positions
in code flow.

CRs-fixed: 336541
Change-Id: I8fb3510190e5c4ff83b3785c51bade139f20692c
Signed-off-by: Ajay Singh Parmar <aparmar@codeaurora.org>
2012-04-07 13:25:00 +05:30
Jordan Crouse
ed7dd7f660 msm: kgsl: Add KGSL_IOCTL_SETPROPERTY
Add KGSL_IOCTL_SETPROPERTY to allow certain features to be enabled in
the kernel driver via userspace.

Change-Id: Ic0dedbadcbf3bfd451db947cec5d997261b12915
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
2012-04-07 01:19:22 -06:00
Linux Build Service Account
c25ee431a6 Merge "usb: mdm_bridge: Fix premature auto suspend on Rx data path" into msm-3.0 2012-04-07 00:15:16 -07:00