Commit Graph
328459 Commits
Author SHA1 Message Date
Jeremy Gebben fcc201da78 msm: kgsl: improve active_cnt and ACTIVE state management
Require any code path which intends to touch the hardware
to take a reference on active_cnt with kgsl_active_count_get()
and release it with kgsl_active_count_put() when finished.
These functions now do the wake / sleep steps that were
previously handled by kgsl_check_suspended() and
kgsl_check_idle().

Additionally, kgsl_pre_hwaccess() will no longer turn on
the clocks, it just enforces via BUG_ON that the clocks
are enabled before a register is touched.

Change-Id: I31b0d067e6d600f0228450dbd73f69caa919ce13
Signed-off-by: Jeremy Gebben <jgebben@codeaurora.org>
2013-04-11 16:30:05 -06:00
Linux Build Service Account 46f755dac0 Merge "defconfig: msm: Disable L2 rediret for msm8610" 2013-04-11 10:50:59 -07:00
Linux Build Service Account b223e50ebd Merge "ASoC: wcd9xxx: Fix incorrect register write sequence" 2013-04-11 10:50:47 -07:00
Linux Build Service Account 70ac9d77dc Merge "msm: kgsl: Add genlock to KGSL DRM driver" 2013-04-11 08:38:27 -07:00
Linux Build Service Account 14d30a0ef6 Merge "base: genlock: Add new functions to get the fd" 2013-04-11 08:38:25 -07:00
Linux Build Service Account 80136180ad Merge "block: urgent request: Update dispatch_urgent in case of requeue/reinsert" 2013-04-11 08:38:09 -07:00
Linux Build Service Account 7b218dd623 Merge "msm: ipa: wwan: Bug fix in IPA properties registration" 2013-04-11 06:57:49 -07:00
Linux Build Service Account 36253990f8 Merge "USB: Dump usb info during memory access violation" 2013-04-11 06:57:38 -07:00
Linux Build Service Account 77488c3985 Merge "media: dvb: Discard sections TS packets with transport error indicator" 2013-04-11 05:08:29 -07:00
Linux Build Service Account 95b69f6844 Merge "arm/dt: msm8974: Fix indentation problem" 2013-04-11 05:08:21 -07:00
Linux Build Service Account 2f3b983128 Merge "arm/dt: msm8226: Change mount angle for camera" 2013-04-11 05:08:12 -07:00
Linux Build Service Account 68c0348457 Merge "dvb: mpq: Secure demux log level" 2013-04-11 05:08:05 -07:00
Tatyana Brokhman fd79902a53 block: urgent request: Update dispatch_urgent in case of requeue/reinsert
The block layer implements a mechanism for verifying that the device
driver won't be notified of an URGENT request if there is already an
URGENT request in flight. This is due to the fact that interrupting an
URGENT request isn't efficient.
This patch fixes the above described mechanism in case the URGENT request
was returned back to the block layer from some reason: by requeue or
reinsert.

CRs-fixed: 473376, 473036, 471736
Change-Id: Ie8b8208230a302d4526068531616984825f1050d
Signed-off-by: Tatyana Brokhman <tlinder@codeaurora.org>
2013-04-11 14:57:15 +03:00
Vladislav Mordohovich 796952ef24 msm: ipa: wwan: Bug fix in IPA properties registration
Changing channel id offset in IPA properties of WWAN interfaces
to the correct offset.

Change-Id: Ib07a87713e9f5a2dc21e4d72bf3655ab5e6b47fd
Signed-off-by: Vladislav Mordohovich <vmordoho@codeaurora.org>
2013-04-11 14:39:57 +03:00
Linux Build Service Account 6b8ba134f8 Merge "msm: sps: Add \n to the end of each log message" 2013-04-11 03:00:39 -07:00
Linux Build Service Account 4d5759a394 Merge "msm: smd: update shared memory address" 2013-04-11 03:00:25 -07:00
Linux Build Service Account 1cca54bada Merge "defconfig: 8226: enable qpnp bms driver" 2013-04-11 02:59:33 -07:00
Linux Build Service Account 0f4cb92be3 Merge "arm/dt: msm8226: add BMS support for MTPs and FLUIDs" 2013-04-11 02:59:31 -07:00
Linux Build Service Account 4cc04110fb Merge "arm/dt: pm8226: add low-voltage-threshold property to BMS node" 2013-04-11 02:59:29 -07:00
Linux Build Service Account 96e2aa3d25 Merge "msm: clock-8226: Add voter clocks for the crypto engine" 2013-04-11 02:59:02 -07:00
Linux Build Service Account 96fbcb3a8e Merge "ASoC: msm: Support multichannel playback over proxy port" 2013-04-11 02:58:54 -07:00
Linux Build Service Account ffadb27efb Merge "slim_msm: Do not disconnect BAM pipe if ADSP HW goes down" 2013-04-11 02:58:44 -07:00
Hamad Kadmany 1101b00b06 media: dvb: Discard sections TS packets with transport error indicator
Corrupted section data should not be notified to the application,
TS packets holding sections with transport error indicator (TEI)
are discarded.

CRs-Fixed: 473875
Change-Id: I43f500a8cde86ad970360a7f1b50615f16fb7a89
Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org>
2013-04-11 11:55:16 +03:00
Evgeniy Borisov d965d44056 arm/dt: msm8974: Fix indentation problem
Fix indentation problem in msm8974-camera.dtsi.

Change-Id: Id58a01275d1a2eba677918cd978f58984d9aaf84
Signed-off-by: Evgeniy Borisov <eborisov@codeaurora.org>
2013-04-11 01:47:59 -07:00
Sreesudhan Ramakrish Ramkumar 554072fc37 arm/dt: msm8226: Change mount angle for camera
Back and front cameras are mounted at different angles with respect
to reference plane on 8226 CDP, MTP and QRD. Change mount angle
property to offset it. Create new dtsi file for CDP since the mount
angle is different for CDP and QRD. Remove length field in reg
property since the register address corresponds to i2c slave address.

Change-Id: If69a2489a982de3b203effa5f7fb225ea9916727
Signed-off-by: Sreesudhan Ramakrish Ramkumar <srramku@codeaurora.org>
2013-04-11 01:42:40 -07:00
Gilad Broner 584832fb53 dvb: mpq: Secure demux log level
Add secure demux API allowing to set log level verbosity.
Log level can be set from user-sapce via a debugfs entry.
Default is no logging.

Change-Id: I80f3900f1788f54f02904fc7a4b317cc7c06a6db
Signed-off-by: Gilad Broner <gbroner@codeaurora.org>
2013-04-11 10:17:04 +03:00
Linux Build Service Account 929ad47a88 Merge "msm: socinfo: Add MSM8x10's 8x12 variant and remove dummy socinfo" 2013-04-10 21:32:44 -07:00
Patrick Daly e07324cd0b msm: clock-8226: Add voter clocks for the crypto engine
Since this rcg is used by both the qseecom and scm drivers, a
voter clock is necessary to provide the greater of the two requested
rates.

Change-Id: I67dde8e1e06ea917aebb36d4cd741e2d8172bd10
Signed-off-by: Patrick Daly <pdaly@codeaurora.org>
2013-04-10 19:44:02 -07:00
Krishnankutty Kolathappilly 30ccecb5c7 ASoC: msm: Support multichannel playback over proxy port
Increase the period size in proxy driver to allow ten millisecond
worth data for capturing multichannel content.Add kcontrol to
allow configuring the proxy backend to six channels.

Change-Id: I1a3c7bf2cde686134f22d2a9a1737909cb2c3729
Signed-off-by: Krishnankutty Kolathappilly <kkolat@codeaurora.org>
2013-04-10 18:10:53 -07:00
Xiaozhe Shi 545ee1acea defconfig: 8226: enable qpnp bms driver
Enable the QPNP bms driver.

This driver controls the battery management system and will report
state of charge.

Change-Id: Ib206be0eb6a44ba6652d5882096ed72ecba39fa8
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
2013-04-10 16:37:29 -07:00
Xiaozhe Shi 36fc6ebbe9 arm/dt: msm8226: add BMS support for MTPs and FLUIDs
Add support for the Battery Management System driver in MTPs and
FLUIDs by enabling the status of the BMS node.

The BMS will report the state of charge of the battery.

Change-Id: Iea1d2e7440052ec2a6b894d823f10410956d3b32
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
2013-04-10 16:37:20 -07:00
Xiaozhe Shi 33988df928 arm/dt: pm8226: add low-voltage-threshold property to BMS node
When the required property "qcom,low-voltage-threshold" was added to
the BMS driver, it was not included in the pm8226 devicetree. Add it
back in in order to allow BMS to probe.

Change-Id: If7575bdfba57d135e77d786c753a663791c493c8
Signed-off-by: Xiaozhe Shi <xiaozhes@codeaurora.org>
2013-04-10 16:36:53 -07:00
Olav Haugan bd5d1620c7 defconfig: msm: Disable L2 rediret for msm8610
Only enable L2 redirect of IOMMU page tables for targets
that support this. msm8610/msm8226 does not support this
feature.

Change-Id: I09ebfaccf4e4e4de52f1f0be638bc5a8dc0dc586
Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
2013-04-10 16:11:24 -07:00
David Ng e7b76b844e msm: socinfo: Add MSM8x10's 8x12 variant and remove dummy socinfo
Add MSM8x12 to socinfo and remove dummy socinfo handling for
MSM8x10 as it is no longer needed.

Change-Id: Id75ba26bb6e5c8d7519e0fc1818cf50b82bbbc4a
Signed-off-by: David Ng <dave@codeaurora.org>
2013-04-10 15:01:26 -07:00
Jeff Hugo 4e20fda70c msm: smd: update shared memory address
Update the physical location of shared memory for new memory map.

Change-Id: I3e66b70c0d7724f2061b2169025ad0aaff966720
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
2013-04-10 15:51:35 -06:00
Yan He 4d2c7aeb36 msm: sps: Add \n to the end of each log message
All the log messages need a \n so that they can be posted
properly in the kernel log output.

Change-Id: I91c12351bb1c92841373aa539c93870619605258
Signed-off-by: Yan He <yanhe@codeaurora.org>
2013-04-10 14:37:17 -07:00
Linux Build Service Account c6771fce69 Merge "ocmem: Add debugfs node to track latency for ocmem" 2013-04-10 12:33:16 -07:00
Linux Build Service Account a191812133 Merge "msm_serial_hs: Add support to get UART port reference using port index" 2013-04-10 12:33:04 -07:00
Linux Build Service Account 70385beddb Merge "msm: ultrasound: support five TX channels" 2013-04-10 12:32:32 -07:00
Linux Build Service Account 75773fbd0f Merge "radio: iris: Expose FM Radio commands and events to user-space" 2013-04-10 12:32:20 -07:00
Linux Build Service Account e40a642910 Merge "usb: dwc3-msm: Notify MHL of cable state at bootup" 2013-04-10 12:32:04 -07:00
Alex Wong 33be494696 msm: kgsl: Add genlock to KGSL DRM driver
This change is to enable frame buffers lock between multiple processes
through genlock.
Genlock is a in-kernel API and optional userspace interface for a generic
cross-process locking mechanism.

Change-Id: If07f024092caee4a257cd70d79799f4231a2cf46
Signed-off-by: Alex Wong <waiw@codeaurora.org>
2013-04-10 11:28:01 -07:00
Alex Wong 7cf76c9cfc base: genlock: Add new functions to get the fd
Add new API to get the file descriptor reference to a lock suitable for
sharing with other processes.

Change-Id: I1b61f44b6d5745a628eb98dfdc876767c46552ea
Signed-off-by: Alex Wong <waiw@codeaurora.org>
2013-04-10 11:19:37 -07:00
Simmi Pateriya 4b9c24bfb6 ASoC: wcd9xxx: Fix incorrect register write sequence
The logic to write a value to mbhc scaling mux register
first and then update a bit got reversed. This update of
bit is codec specific and should be done after the common
register write else it will get overwritten.

Change-Id: I21ccb88ef69b96420b9e8a671b8e97202eefb47f
Signed-off-by: Simmi Pateriya <simmip@codeaurora.org>
2013-04-10 23:44:40 +05:30
Linux Build Service Account 87544c6d8d Merge "mm: change initial readahead window size calculation" 2013-04-10 04:48:37 -07:00
Rajkumar Raghupathy c01decf6a3 USB: Dump usb info during memory access violation
USB is accessing an invalid memory which results in EBI error.
To find the endpoint information and the address being accessed,
dump all the usb request info required for debugging memory access
violation issue from APP's proc using the trace framework.

CRs-Fixed: 430455
Change-Id: Ie99c31f43dfa9858a9ec2756903574888629e341
Signed-off-by: Chiranjeevi Velempati <cvelempa@codeaurora.org>
Signed-off-by: Rajkumar Raghupathy <raghup@codeaurora.org>
2013-04-10 15:12:28 +05:30
Linux Build Service Account 7fe375cac3 Merge "thermal: tsens8960: Add api to read max supported sensors" 2013-04-10 01:13:17 -07:00
Linux Build Service Account 6d54b8dced Merge "msm: acpuclock-cortex: Use a polling function which doesn't sleep" 2013-04-10 01:12:53 -07:00
Linux Build Service Account 4bdf51c281 Merge "mmc: msm_sdcc: restrict bam logging" 2013-04-09 23:02:48 -07:00
Linux Build Service Account 570f3d7bb9 Merge "msm: net: ecm: Support for IPA resource manager disable" 2013-04-09 23:02:39 -07:00