Commit Graph
335110 Commits
Author SHA1 Message Date
Satya Durga Srinivasu Prabhala 8d2c6de9c4 Kbuild: Export msm_dsps.h to user space
Export msm_dsps.h to user space to interact with DSPS
driver.

Change-Id: I0cfcc883e704c8e59a0cb7c76ef56a3680573e4e
Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2013-08-12 11:19:00 -07:00
Linux Build Service Account c760308569 Merge "lib: spinlock_debug: increase spin dump timeout" 2013-08-10 02:15:51 -07:00
Linux Build Service Account d306fd136b Merge "mmc: core: Enable multiple urgent requests notification" 2013-08-10 02:15:43 -07:00
Syed Rameez Mustafa 4335742fbd lib: spinlock_debug: increase spin dump timeout
On certain targets the worst case console buffer draining time can
exceed the aggressive spin dump timeout value. Relax the timeout value
to cater to these scenarios.

Change-Id: I7312ffe06bafd2dc7adf0f4e8b73a53fc5839235
Signed-off-by: Syed Rameez Mustafa <rameezmustafa@codeaurora.org>
2013-08-08 10:36:47 -07:00
Tatyana Brokhman 8bd684209f mmc: core: Enable multiple urgent requests notification
At the moment if the block layer issues an URGENT request notification
before receiving a complete on the URGENT request currently handled by
the device driver - the system crashes with a BUG_ON().
This change enables multiple block layer urgent request notification to
be handled by MMC layer by removing single notification enforcement.

CRs-fixed: 517724
Change-Id: Idfa410d0c2286146f8d58a38b5abd6886036317c
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
2013-08-07 22:34:58 -07:00
Linux Build Service Account c2122056c7 Merge "arm/dt: msm8610: Add support for 1080p 30fps decode" 2013-08-07 01:53:18 -07:00
Rajeshwar Kurapaty 6577d754a0 arm/dt: msm8610: Add support for 1080p 30fps decode
8610 video firmware is now optimized to support 1080p.
This change modifies the max supported load from 720p to
1080p.

Change-Id: Idaa062cb9050bf31eab99273e5cf58f44595d57a
Signed-off-by: Rajeshwar Kurapaty <rkurapat@codeaurora.org>
2013-08-06 21:46:04 -07:00
Linux Build Service Account 0ba894db89 Merge "ASoC: msm8x10-wcd: fix missing iounmap after ioremapped memory" 2013-08-06 18:35:01 -07:00
Linux Build Service Account fd97d120a2 Merge "ASoC: msm8x10: fix missing iounmap after ioremapped memory" 2013-08-06 18:34:50 -07:00
Linux Build Service Account e8f38f65bb Merge "arm/dt: msm8974pro: Add nodes for multiple partitions in msm_vidc" 2013-08-06 16:32:54 -07:00
Linux Build Service Account 92fe929e32 Merge "ARM: dts: msm: Add LED torch support for camera" 2013-08-06 16:32:46 -07:00
Linux Build Service Account 6cab8a364c Merge "msm: camera: Add input interface in SOF event" 2013-08-06 16:32:37 -07:00
Linux Build Service Account 49748653ac Merge "msm: camera: Add in-sensor mode support for eeprom" 2013-08-06 16:32:27 -07:00
Linux Build Service Account 8262fbc58a Merge "msm: camera: Fix possible out of bound writes in csi driver" 2013-08-06 16:32:20 -07:00
Linux Build Service Account 10552f3eb3 Merge "msm: camera: Update UB size for stats" 2013-08-06 13:54:05 -07:00
Linux Build Service Account 385d362a5d Merge "msm: camera: Fix uninitialized memory returned to userspace" 2013-08-06 13:53:54 -07:00
Linux Build Service Account 268e510a28 Merge "msm: camera: Add lower and upper bounds check in msm_cpp.c ioctl()" 2013-08-06 13:53:43 -07:00
Linux Build Service Account 2cfd5dae70 Merge "msm: camera_v2: protect cmd_ack_q around mutex" 2013-08-06 13:53:33 -07:00
Linux Build Service Account bab9257272 Merge "msm: camera: Fix Possible Integer overflow in ispif driver" 2013-08-06 13:53:25 -07:00
Linux Build Service Account 25a9c64621 Merge "msm: camera: Fix for raw snapshot" 2013-08-06 13:53:15 -07:00
Linux Build Service Account d92897bb48 Merge "msm📷 Add support for LED flash as i2c node" 2013-08-06 13:53:06 -07:00
Linux Build Service Account 4bbd7afd42 Merge "power: qpnp-bms: qpnp-charger: prevent loading null batterydata" 2013-08-06 11:04:08 -07:00
Linux Build Service Account cf0f22f7ec Merge "ARM: dts: msm: Correct BMS irqs for MSM8226 and MSM8610" 2013-08-06 11:03:28 -07:00
Evgeniy Borisov db7251cfbe ARM: dts: msm: Add LED torch support for camera
For 8974 fluid, pm8941 2A torch is attached to S5K3L1YX sensor.
Add LED torch source in device node. Sensor device nodes parse
torch source properties in sensor driver.

Change-Id: Icd80ff87614f76e623268247bae46de36fab3e94
Signed-off-by: Evgeniy Borisov <eborisov@codeaurora.org>
2013-08-06 00:19:01 -07:00
Ju He 8773f250b7 msm: camera: Add in-sensor mode support for eeprom
Add in-sensor mode calibration support for eeprom.
User are able to write back calibration settings
via ioctrl interface of the sensor.

Change-Id: I5fbfa8967885b683e498fe670a0c36d58d4b44e7
Signed-off-by: Ju He <juhe@codeaurora.org>
2013-08-06 00:16:21 -07:00
Lakshmi Narayana Kalavala 5cc2cb573a msm: camera: Fix possible out of bound writes in csi driver
The value csi_lane_mask which is uint16_t is controllable from userspace.
The while loop can loop for 2^16 - 1, Hence extract the required
bit combination from the userspace argument, used it for further
processing.

CRs-Fixed: 511976
Change-Id: I80b0fe7ac273352503d9705510f05debe6cbb10a
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2013-08-06 00:14:57 -07:00
Seemanta Dutta 206b46d218 msm: camera: Fix uninitialized memory returned to userspace
Local structures have not been initialized to all zeroes, so fix
this by setting them to all zeroes to prevent uninitialized memory
being copied to userspace.

CRs-fixed: 518478
Change-Id: I6e76355c3f854514def1bd18dcc5c3ef6db38f16
Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org>
2013-08-06 00:10:52 -07:00
Seemanta Dutta efa7274628 msm: camera: Add lower and upper bounds check in msm_cpp.c ioctl()
Add a check for upper and lower bounds in msm_cpp_subdev_ioctl() for
command code VIDIOC_MSM_CPP_DEQUEUE_STREAM_BUFF_INFO.

CRs-fixed: 518731
Change-Id: I72996e13b7370a3b49f645297c52a118775b2b12
Signed-off-by: Seemanta Dutta <seemanta@codeaurora.org>
2013-08-06 00:09:11 -07:00
Ankit Premrajka 3d57d28767 msm: camera_v2: protect cmd_ack_q around mutex
Insertions and deletions into the session based command
ack queue need to be synchronized since they may be accessed
from more than one context.

CRs-fixed: 516599
Change-Id: Ia8b4c10666ceede41352baa652f28e7e4ed8e5fc
Signed-off-by: Ankit Premrajka <ankitp@codeaurora.org>
2013-08-06 00:05:08 -07:00
Kevin Chan 195687f917 msm: camera: Add input interface in SOF event
For Start of frame event send to userspace,
we need to know whether it is coming from the
pixel interface or the raw interface.
This change add the code to populate the
interface information.

Change-Id: Ie81473d9797e4514394fb89c39f576396e8ff478
Signed-off-by: Peter Liu <pingchie@codeaurora.org>
2013-08-06 00:03:16 -07:00
Lakshmi Narayana Kalavala 1d1cb7bf35 msm: camera: Fix Possible Integer overflow in ispif driver
Fix Possible Integer overflow in ispif driver in multiple places.

CRs-Fixed: 510051
Change-Id: I738c11b2d8e2ef7433bb01ba416590f7952acc2e
Signed-off-by: Lakshmi Narayana Kalavala <lkalaval@codeaurora.org>
2013-08-06 00:00:03 -07:00
Xiaozhe Shi 23174eac64 power: qpnp-bms: qpnp-charger: prevent loading null batterydata
Currently, the BMS and Charger tries to load battery properties from
the devicetree battery data node. However, currently the drivers only
check for a non-negative number before loading the properties. This
can cause null batterydata nodes to be loaded as 0s for all
properties.

Fix this by first intializing the properties to -1 before loading the
batterydata.

CRs-Fixed: 518407
Change-Id: Iede14a6ba5dd0d307a1bdd8f813c509f718acfe6
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
2013-08-05 23:32:29 -07:00
Xiaozhe Shi c4c04eeae8 ARM: dts: msm: Correct BMS irqs for MSM8226 and MSM8610
The BMS peripheral interrupts were reversed for MSM8226 and MSM8610.
This may cause accidental wakeups during sleep because the sw_cc_thr
irq is switched with good_ocv. Since the BMS driver registers
sw_cc_thr as a wakeable interrupt and sw_cc_thr actually registers
the good_ocv irq, the device will wake up every time the BMS
peripheral gets a good OCV reading.

Fix this by correcting all the IRQs in the BMS device tree node.

CRs-Fixed: 519868
Change-Id: I2e3ae128fa2a79bd527d6293d8ac592790847b58
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
2013-08-05 23:31:28 -07:00
Linux Build Service Account d6d60b7fc7 Merge "ARM: dts: msm: Add entry for relocatable pil heaps" 2013-08-05 15:31:50 -07:00
Linux Build Service Account ee28bc38f0 Merge "netfilter: qtaguid: rate limit some of the printks" 2013-08-05 15:31:37 -07:00
Linux Build Service Account 093f575b55 Merge "netfilter: xt_qtaguid: Allow tracking loopback" 2013-08-05 15:31:36 -07:00
Linux Build Service Account dbf30b096a Merge "netfilter: xt_qtaguid: remove AID_* dependency for access control" 2013-08-05 15:31:35 -07:00
Linux Build Service Account 5d5a062d5c Merge "netfilter: xt_qtaguid: extend iface stat to report protocols" 2013-08-05 15:31:34 -07:00
Linux Build Service Account 4ca6b1ab69 Merge "netfilter: qtaguid: Don't BUG_ON if create_if_tag_stat fails" 2013-08-05 15:31:33 -07:00
Linux Build Service Account cb366e675d Merge "netfilter: xt_qtaguid: fix error exit that would keep a spinlock." 2013-08-05 15:31:31 -07:00
Linux Build Service Account 1a0770ac00 Merge "netfilter: xt_qtaguid: report only uid tags to non-privileged processes" 2013-08-05 15:31:30 -07:00
Fred Oh 4d716bb889 ASoC: msm8x10-wcd: fix missing iounmap after ioremapped memory
If ioremap is used, iounmap has to be called. Missing iounmap call
cause flooding vmalloc table which will end up with random crashes.

CRs-fixed: 502923
Change-Id: I45fa48d583503470c8fa9549c9c5f60d903e38ed
Signed-off-by: Fred Oh <fred@codeaurora.org>
2013-08-05 11:21:33 -07:00
Fred Oh ea0e73b72a ASoC: msm8x10: fix missing iounmap after ioremapped memory
If ioremap is used, iounmap has to be called. Missing iounmap call
cause flooding vmalloc table which will end up with random crashes.

CRs-fixed: 502923
Change-Id: I7fd9bc1367ef50afe9b586e66c014f4af677bc4e
Signed-off-by: Fred Oh <fred@codeaurora.org>
2013-08-05 11:20:24 -07:00
Linux Build Service Account 521afc3bf9 Merge "USB: msm_otg: Correct USB PHY Reset sequence on newer platform" 2013-08-05 05:32:06 -07:00
Suresh Vankadara e227126bd9 msm: camera: Fix for raw snapshot
Issue a reg update command in case of raw
snapshot to fix the failure of raw snapshot

Change-Id: I38dce970979d34ad720ba61fb8a1b65dc53cff66
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
2013-08-05 03:18:18 -07:00
Suresh Vankadara f95afba89e msm: camera: Update UB size for stats
Update UB size for BG stats to avoid overflow.

Change-Id: I88f73887bd5343a44f9911ff9ecfa4dba8449e17
Signed-off-by: Suresh Vankadara <svankada@codeaurora.org>
2013-08-05 03:16:45 -07:00
Lokesh Kumar Aakulu 034626d8bc msm📷 Add support for LED flash as i2c node
Add LED flash driver for adp1660 as i2c node.
Create v4l2 node and add control logic for i2c
LED Flash driver.

Change-Id: Iccdd341c280e58dfa5b374d06b16c2d9d344f748
Signed-off-by: Lokesh Kumar Aakulu <lkumar@codeaurora.org>
2013-08-05 02:43:50 -07:00
Mayank Rana b95838bdfd USB: msm_otg: Correct USB PHY Reset sequence on newer platform
On few legacy platforms, USB PHY is having dedicated reset clk.
It is used to reset USB PHY after putting USB PHY into low power
mode and for calibration of USB PHY. Putting USB PHY into low
power mode is causing ulpi read/write timeout as expected USB PHY
reset clk is not available on newer platform. Hence remove USB PHY
reset clk usage and related reset code.

For 28nm PHY, Reset USB PHY after resestting USB LINK. Also reset
USB PHY using USB_PHY_PON bit with USB_OTG_HS_PHY_CTRL register
after programming USB PHY Override registers as suggested with
hardware programming guidelines. Also debug out important USB
register when ulpi read/write timeout is seen with USB PHY.

CRs-Fixed: 511102
CRs-Fixed: 511397
Change-Id: I8f0f49211a64aa6eac7643cd91a652aed40132e3
Signed-off-by: Mayank Rana <mrana@codeaurora.org>
2013-08-04 21:10:16 -07:00
Linux Build Service Account 9f22f28a82 Merge "Revert "ARM: dts: msm: Run HS200 @ 100MHz for msm8974pro AB/AC mtp"" 2013-08-04 15:37:48 -07:00
Linux Build Service Account 0677598ba0 Merge "Revert "msm: thermal: Clean up msm cpufreq function calls"" 2013-08-03 02:18:24 -07:00