Commit Graph
342592 Commits
Author SHA1 Message Date
Deepak Verma 082f2e63df msm: vidc: Add support for different errors
When hardware is overloaded or when max number of clients are
reached in driver or firmware, hardware error is sent to video
client. This change is to replace hardware error with actual
errors.

CRs-fixed: 575852
Change-Id: I07e599f894a3716a3dc4fed5eb7c987311f5bdde
Signed-off-by: Deepak Verma <dverma@codeaurora.org>
2014-05-04 20:17:00 -07:00
Linux Build Service Account 924c12fbc8 Merge "msm: kgsl: Protect CP_STATE_DEBUG_INDEX" 2014-05-03 06:13:39 -07:00
Linux Build Service Account 92883ad77c Merge "msm: kgsl: Mark the IOMMU setstate memory as read only" 2014-05-03 06:13:38 -07:00
Linux Build Service Account ba83ff6246 Merge "cfg80211: change regulatory rules for Indonesia" 2014-05-03 06:13:32 -07:00
Linux Build Service Account e1d30dac81 Merge "msm: rq_stats: Fix wrong usage of cpufreq_quick_get()" 2014-05-03 06:13:23 -07:00
Linux Build Service Account f4e1e3e4a4 Merge "msm: rq_stats: Use cpufreq API to get the current frequency" 2014-05-03 06:13:22 -07:00
Linux Build Service Account f6c18bdd35 Merge "mmc: sdhci-msm: Correct usage of readl_poll_timeout() API" 2014-05-03 06:13:21 -07:00
Linux Build Service Account 897b559dce Merge "ASoC: dapm: Change mutex lock subclass in dapm" 2014-05-03 03:34:40 -07:00
Linux Build Service Account 0ca35b3ec7 Merge "msm-camera: Enable proportional slicing of unified buffer" 2014-05-03 03:34:37 -07:00
Linux Build Service Account 94f5c49f24 Merge "ASoC: dapm: fix race condition in dapm" 2014-05-03 03:34:36 -07:00
Linux Build Service Account a98e067f5f Merge "msm-camera: Dividing unified buffer in proportion to the image size" 2014-05-03 01:44:54 -07:00
Mohit Setia 1c4510055b msm-camera: Enable proportional slicing of unified buffer
To enable proportional slicing

Change-Id: I8a21c8808085f527b9536edc51ccdcfa1de4e179
Signed-off-by: Mohit Setia <msetia@codeaurora.org>
2014-05-02 23:38:52 -07:00
Mohit Setia 6924c861cc msm-camera: Dividing unified buffer in proportion to the image size
Write masters writing large images require large latency buffers in
unified buffer whereas write masters writing smaller images don't,
Allocating latency buffer in proportion to image size will reduce
buf overflows

Change-Id: I54d3b4389eb616b9684d5b62caaed029c83299ab
Signed-off-by: Mohit Setia <msetia@codeaurora.org>
2014-05-02 23:19:20 -07:00
Gopikrishnaiah Anandan 88ba7e31db ASoC: dapm: Change mutex lock subclass in dapm
Address the compilation issue by changing the subclass
enum in dapm functions.

Change-Id: Icd31748b1beb7328819de7f8e4a32c128f60c43f
CRs-fixed: 656634
Signed-off-by: Gopikrishnaiah Anandan <agopik@codeaurora.org>
2014-05-01 14:21:04 -07:00
Aviral Gupta 7a19136d74 ASoC: dapm: fix race condition in dapm
Dirty widget list can be accessed by multiple paths
in dapm framework. Dirty list is protected by dapm mutex.
Since dapm_set_pin and dapm_force_enable_pin function
accesses the dirty list, protect it using the dapm mutex.

CRs-Fixed: 637323
Change-Id: I8c265072083e142c0858b6cc7a983d07e7d75af0
Signed-off-by: Aviral Gupta <aviralg@codeaurora.org>
2014-05-01 16:49:21 +05:30
Matt Wagantall 678a8b8f94 mmc: sdhci-msm: Correct usage of readl_poll_timeout() API
The intention of sdhci_msm_probe() was to wait up to 1ms for
CORE_SW_RST to be set, but only a 10us timeout was passed to
readl_poll_timeout().

Correct the timeout value to be 1ms, and decrease the sleep
time between read attempts to only 10us so that it's less
than the expected wait time of 40us.

Change-Id: I7007a68232bfba76409e2dbae3060622fa5c1913
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
2014-05-01 15:10:18 +05:30
Linux Build Service Account 6abebc482b Merge "qseecom: update cumulative_mode and timer properly" 2014-04-30 23:44:08 -07:00
Zhen Kong e5b434eba6 qseecom: update cumulative_mode and timer properly
qseecom.cumulative_mode is used to track the cummulative bus request
mode from all concurrent running clients. It is registered before
send_cmd operation, but is not un-registered after it is complete.
This may cause the bus bandwidth is restored to a wrong mode after
resuming from sleep. Thus, we make change to update it accordingly.
qseecom.current_mode is also updated in suspend/resume function to
ensure timer can scale down bus bw after resume when cumulative_mode
is non-zero. Besides, timer operation is optimized in case there are
multiple unserialized concurrent users of the same timer.

Change-Id: I06043d2b88a47e24da03460fe1ae26a94cb6a608
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2014-04-30 21:16:36 -07:00
Linux Build Service Account 193c470ddd Merge "ARM: dts: msm: BIMC for 8226 class devices" 2014-04-30 12:53:42 -07:00
Linux Build Service Account 61736d424f Merge "ARM: dts: msm: BIMC for 8610 class devices" 2014-04-30 12:53:41 -07:00
Linux Build Service Account cb71bfc147 Merge "ARM: dts: msm: BIMC for 8974 class devices" 2014-04-30 12:53:40 -07:00
Linux Build Service Account 3917638027 Merge "platform: qpnp-power-on: Set boot reason in procfs" 2014-04-30 03:24:10 -07:00
Linux Build Service Account a0d91d3714 Merge "msm:rpm-log: add the mutex to protect read opertion" 2014-04-29 22:55:10 -07:00
Linux Build Service Account bdfbc0c2e0 Merge "alarm : Fix the race conditions in alarm-dev.c" 2014-04-29 22:55:05 -07:00
Linux Build Service Account 3624f37b7b Merge "rtc:alarm: remove alarm_shutdown hook in alarm driver" 2014-04-29 20:54:27 -07:00
Xiaocheng Li 0c9d2a6caa platform: qpnp-power-on: Set boot reason in procfs
Assigns a value to the boot_reason procfs property in
qpnp-power-on. This property can be read via
/proc/sys/kernel/boot_reason. The value for this property
will reflect lowest bit set in the PON_REASON1 PMIC register.
For example, if bit 0 is set in the register, then
boot_reason will have a value of 1. If no bits are set
in the register, then boot_reason will have a value of 0.

For existing PMIC chips, the following mapping applies
for the value of boot_reason:

0 -> unknown
1 -> hard reset
2 -> sudden momentary power loss (SMPL)
3 -> real time clock (RTC)
4 -> DC charger inserted
5 -> USB charger inserted
6 -> PON1 pin toggled (for secondary PMICs)
7 -> CBLPWR_N pin toggled (for external power supply)
8 -> KPDPWR_N pin toggled (power key pressed)

Change-Id: Icf2be66165fd01d3063282fcbfb2b115480e7b5c
Signed-off-by: Maria Yu <aiquny@codeaurora.org>
Signed-off-by: Xiaocheng Li <lix@codeaurora.org>
2014-04-30 09:11:00 +05:30
Linux Build Service Account 481e564d34 Merge "msm: mdss: signal timeline appropriately for mdp3" 2014-04-29 17:07:53 -07:00
Linux Build Service Account d5996e396a Merge "msm: camera: Fix improper memory free in failure case" 2014-04-29 17:07:50 -07:00
Linux Build Service Account 9cd45bae27 Merge "msm: camera: Fix race condition between camera driver and camera daemon" 2014-04-29 17:07:48 -07:00
Linux Build Service Account 310302da58 Merge "qseecom: register bus bandwidth mode when loading app" 2014-04-29 17:07:45 -07:00
Linux Build Service Account e46845cfbc Merge "qseecom: Check the return value of "ion_phys"" 2014-04-29 17:07:45 -07:00
Linux Build Service Account 3e2a9c94f3 Merge "qseecom: Fix failure to load cmnlib image" 2014-04-29 17:07:44 -07:00
Linux Build Service Account 5510813343 Merge "qseecom: Replace kzalloc with ion_alloc" 2014-04-29 17:07:43 -07:00
Linux Build Service Account 32be80347a Merge "msm: vidc: update format during downscaling" 2014-04-29 08:23:45 -07:00
Pan Fang f7d047c589 msm:rpm-log: add the mutex to protect read opertion
This commit will protect rpm log read operation. Then multithread
read the same rpm log buffer will not corruption.

CRs-Fixed: 646485
Change-Id: I0af7d8b3025d036cfa8927c2e37ef865075ff312
Signed-off-by: Pan Fang <fangpan@codeaurora.org>
2014-04-29 04:39:40 -07:00
Linux Build Service Account f7550a3037 Merge "msm: camera: sensor: Update CCI WR comamnd buffer size to 11 bytes" 2014-04-29 02:14:24 -07:00
Linux Build Service Account b55a70c583 Merge "msm: Create shadow files under /sys/kernel/ipv4" 2014-04-29 02:14:07 -07:00
Pradeep Jilagam 6ad686f4ed msm: mdss: signal timeline appropriately for mdp3
There is a chance that we miss signalling mdp3 timeline
when the scheduling of the relevant workqueue goes out of
sync due to system load. Handle this scenario appropriately
so that the fences get releases in time.

CRs-Fixed: 622018

Change-Id: Ib2acbb6ad740de8e98ac79171cc441cc70b1155f
Signed-off-by: Pradeep Jilagam <pjilagam@codeaurora.org>
2014-04-29 12:24:56 +05:30
Xiaocheng Li 446d682932 alarm : Fix the race conditions in alarm-dev.c
There will be race conditions between alarm set and alarm clear if
set_power_on_alarm is out of the lock.But set_power_on_alarm can't
be put into spin_lock. So add it into mutex_lock.

CRs-Fixed: 639115
Change-Id: I1db4836f67174b756c7f9d231f7a39cf0377d2c2
Signed-off-by: Xiaocheng Li <lix@codeaurora.org>
2014-04-28 23:26:21 -07:00
Xiaocheng Li eeb31ff78d rtc:alarm: remove alarm_shutdown hook in alarm driver
Putting alarm_shutdown into set_power_on_alarm is to set rtc alarm
time immediately after an alarm being set. It can avoid shutting
down unexpectedly before calling alarm_shutdown hook like removing
battery.Then power_on_alarm will be set to rtc twice when an alarm
is created and the device performs shutdown for a power off alarm.
The set process during shutting down is duplicated to the set
process when an alarm is created. So the alarm_shutdown hook become
unnecessary.

CRs-Fixed: 639119
Change-Id: Ie46bcf6f568f04650d94ba40ad6d4521d31a2f96
Signed-off-by: Xiaocheng Li <lix@codeaurora.org>
2014-04-28 23:25:55 -07:00
Ravi Joshi f2b197774d msm: Create shadow files under /sys/kernel/ipv4
The TCP delayed ack parameters can be configured from user space
application which runs with non-root credentials and does not have
direct write access to /proc entries. This commit creates shadow
files under /sys/kernel/ipv4 which maps to /proc/sys/net/ipv4.

CRs-Fixed: 628139
Change-Id: Ib7242aaae930dbc02133e44c04e182ebc52bc89f
Signed-off-by: Ravi Joshi <ravij@codeaurora.org>
2014-04-28 16:35:44 -07:00
Linux Build Service Account 4f891d2b1b Merge "mm: Mark free pages as read only" 2014-04-28 15:24:36 -07:00
Linux Build Service Account 7acf987a6b Merge "arm: Allow remapping lowmem as 4K pages" 2014-04-28 15:24:35 -07:00
Linux Build Service Account 1040414c53 Merge "msm: mdss: Fix DTM state entry check in pp module" 2014-04-28 15:24:29 -07:00
Linux Build Service Account 87487067d8 Merge "msm: mdss: fix pp setup on SSPP pipe in rotation scenario" 2014-04-28 15:24:28 -07:00
Linux Build Service Account afb1b8b2a5 Merge "msm: mdss: update layer mixer access for calibration tool" 2014-04-28 15:24:27 -07:00
Linux Build Service Account 15049673ed Merge "msm: mdss: provide an exclusive access to QSEED2 block" 2014-04-28 15:24:26 -07:00
Linux Build Service Account ec1d0ce981 Merge "msm: mdss: provide an exclusive access to SSPP op_mode" 2014-04-28 15:24:26 -07:00
Linux Build Service Account be4df37f55 Merge "msm: mdss: Do not override ARGC setting on LM" 2014-04-28 15:24:25 -07:00
Zhen Kong 4bead3c540 qseecom: register bus bandwidth mode when loading app
When there are multiple running qseecom clients, ce clock may be disabled
by one client while TZ is still loading another client's app, which will
lead to load app failure. So, we make a change to register bus bandwidth
mode before loading app and avoid to disable clock when current bandwidth
mode is not INACTIVE.

Change-Id: I1727f6fc038baf95da39089e1f0faefe42f3d40c
Signed-off-by: Zhen Kong <zkong@codeaurora.org>
2014-04-28 10:11:46 -07:00