summaryrefslogtreecommitdiff
path: root/drivers/platform (follow)
Commit message (Collapse)AuthorAge
...
| | * | | | toshiba_acpi: Fix blank screen at boot if transflective backlight is supportedAzael Avalos2016-03-03
| | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit bae5336f0aaedffa115dab9cb3d8a4e4aed3a26a upstream. If transflective backlight is supported and the brightness is zero (lowest brightness level), the set_lcd_brightness function will activate the transflective backlight, making the LCD appear to be turned off. This patch fixes the issue by incrementing the brightness level, and by doing so, avoiding the activation of the tranflective backlight. Reported-and-tested-by: Fabian Koester <fabian.koester@bringnow.com> Signed-off-by: Azael Avalos <coproscefalo@gmail.com> Signed-off-by: Darren Hart <dvhart@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
* | | | | Merge "msm: ipa: exit when hdr proc ctx table is full"Linux Build Service Account2016-07-15
|\ \ \ \ \
| * | | | | msm: ipa: exit when hdr proc ctx table is fullSkylar Chang2016-07-12
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Return error when header processing table is full so that ipa driver does not add infinite number of headers in SW cache. Change-Id: I97360dec3ec892aab688d332122c75283c3e6cf6 Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | | Merge "msm: ipa3: support 64bitmask with SMMU attached"Linux Build Service Account2016-07-13
|\ \ \ \ \
| * | | | | msm: ipa3: support 64bitmask with SMMU attachedSkylar Chang2016-07-11
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for using 64bit dma_mask on ipa3 with smmu dev attached both in bypass and full mode. Change-Id: I955d81bffc957c4d93a1a90eb974e558e7b5d123 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* / / / / msm: ipa: print resource bandwidth in ipa rmSkylar Chang2016-07-12
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Print resource bandwidth and total bandwidth in ipa resource manager for debugging purpose. Change-Id: Ib639cd850a7cafa5f1176f0fa09efac8ad8738d5 Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | msm: ipa3: fix the double ipa3_pre_init issueSkylar Chang2016-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With smmu enabling, ipa3_pre_init is actually probed twice and causing the crash, the fix is to do only once. Change-Id: I20bd718c8cb70029c4dd46c52dbece326b90ef80 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | | msm: ipa: Fix queuing the inactive timer work on perf clusterSridhar Ancha2016-07-05
| |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using schedule_delayed_work will cause work queues to be scheduled on the CPU where the timer expires. This can make work to be scheduled on perf cluster resulting in power issues. Make changes to use queue_delayed_work on an unbound workqueue so that the work gets scheduled based on the load and mostly it gets scheduled in power cluster. Change-Id: I13605eea5fb3e7eeece1d8c81334981ea7de9cb9 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa3: Do not use APPS pipes for IPA kernel-testGhanim Fodi2016-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPA Endpoint 16 is the one assigned to APPS for WAN data. This pipe is connected when modem is up. Kernel-tests framework should not use it for testing purposes as this pipe is already allocated for APPS. Update the code to use another IPA Endpoint. Change-Id: Ia0ed2ad9041353def1b3055d394281bca2893f88 CRs-fixed: 1034319 Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
* | | msm: ipa: change default low watermark for rx buffersSkylar Chang2016-06-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change the threshold for resubmitting RX buffers to IPA in case of allocation errors to a bigger number than 0. In some corner cases a packet from IPA to AP might be larger than the side of 1 buffer, which can result in IPA stall if threshold is 0. CRs-Fixed: 1027726 Change-Id: Ic841de25597c2cd4ce007823f9b9727e858a73cb Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: fix delete dependency race conditionSkylar Chang2016-06-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPA RM dependencies are added both by kernel drivers and by userspace application (IPACM), depending on the use case. On rare condition, a race is possible between adding the dependency and deleting it, which results in a bad state of the dependency graph. This change makes sure that dependency is deleted only if it was added by the same entity. CRs-Fixed: 1027773 Change-Id: I9253469887b8913f6f2c513a6c7043ed60400b8a Acked-by Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: support use for 64bit DMA maskSkylar Chang2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | add 64bit dma mask support on ipa3 to resolve the dma pool exhausted issue. Change-Id: I629e2ae15574ab779c43dd40d40cf169fe19bb8e Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: Move IPA FnR building to IPAHALGhanim Fodi2016-06-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPA Filtering and Routing rules and tables building is a logic related to IPA H/W. As such, migrating this logic to IPAHAL (H/W abstraction layer) of IPA driver and adapt the core driver code to use it. New internal S/W API is added to access IPAHAL for Filtering and Routing rules and tables building and clearing. CRs-Fixed: 1006485 Change-Id: I23a95be86412987f72287138817235d3f1f9bc61 Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
* | | msm: ipa: fix static analysis issuesGidon Studinski2016-06-16
| | | | | | | | | | | | | | | | | | | | | Fix several static analysis issues in IPA driver. Change-Id: If04e11b9e44aabb7c9389dbf79ed9c80c66c877e Signed-off-by: Gidon Studinski <gidons@codeaurora.org>
* | | msm: ipa3: fix condition tested on ipahal wrapperAmir Levy2016-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | offset_entry parameter should be tested for NULL, invert testing logic. CRs-Fixed: 1028328 Change-Id: I52761b04c594b10202a3823d49324a4991ecf3e4 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | msm: ipa3: fix qmap deaggregation issueSkylar Chang2016-06-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With GRO enable, ipa3 still use default aggr_byte_limit to calculates the rx_buff_sz and configures wrong channel righ size in GSI. The fix is to use the right aggr_byte_limit which netmgrd configured. Change-Id: I9f804a122090ea4340f7873a5aa276dff00cbcb7 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: clear uC interrupt only before processingsunil paidimarri2016-06-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Clearing Non uC interrupts before processing will result in clearing interrupt data. Change-Id: I47ea7c22250264da206e1fb8691e77224c825ab0 CRs-Fixed: 1008549 Signed-off-by: sunil paidimarri <hisunil@codeaurora.org>
* | | msm: ipa: Add napi support to rmnet ipa deviceSunil Paidimarri2016-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add napi framework to use napi API's to poll embedded data from IPA HW. Change-Id: Icb6ec9d060ca4fb02e95c1e98bded89422bb1fff CRs-Fixed: 1002026 Signed-off-by: Sunil Paidimarri <hisunil@codeaurora.org>
* | | msm: ipa3: lower turbo voting thresholdSkylar Chang2016-06-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make turbo voting threshold lower to 1000Mbps to account for CPE use case. Change-Id: I5d02d3df7b69e30243a0b44ddf36a894ad739d59 CRs-Fixed: 872263 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: fix dereferencing of offset_entry without checkAmir Levy2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | When is_hdr_proc_ctx is true, offset_entry might be not allocated. Dereference this pointer only when is_hdr_proc_ctx is false. CRs-Fixed: 1021964 Change-Id: I191c4709e79d1b13e3f6fd31c5e738d3c2094bc7 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | msm: ipa: fix the order issue of meq128 equationSkylar Chang2016-06-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the issue of wrong meq128 word order. Change-Id: Ifb45db29d5475ede42a11613b99c4504fbe10b54 CRs-Fixed: 1018146 Acked-by: Shihuan Liu <shihuanl@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: rmnet_ipa3: add RMNET_IOCTL_GET_SG_SUPPORT supportSkylar Chang2016-06-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | While the transport always supports scatter-gather, the capability advertised through this IOCTL is configured from the device tree. Add support on ipav3. Change-Id: Idf626cb5a22d2ed5152ab76dcc5fe56696a631a6 Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: support GRO feature on msmcobaltSkylar Chang2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For this GRO feature, IPA-driver should not de-aggregate the pkt received from modem, also no need to attach status. Also netmgrd will call ioctl to wan-driver to indicate when this feature will be enable. Change-Id: I1bc6fb87684ee8da6126dc331debf5880adceb4f Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: enable power save to ODUSkylar Chang2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remove keep_awake flag from ODU bridge to allow IPA to go to clock gating. CRs-Fixed: 1013927 Change-Id: Ic9efb8555ec4bdad2c099719de4ed56677b194ca Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: fix to read hw tables from debugfsSkylar Chang2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix to IPA driver debugfs logic to read filtering and routing directly from HW. CRs-Fixed: 1020271 Change-Id: I6bb5f9a01e3f41107d7b5bdf7c19557546573463 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: Move IPA RAM mapping to DTS fileGilad Landau2016-06-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use DTS configuration file to initialize IPA memory partitions in order to allow per target configuration decoupled from code. Change-Id: If770b9315807e51e46cd94dec6234ef186cf4fcb CRs-Fixed: 1022125 Signed-off-by: Gilad Landau <glandau@codeaurora.org>
* | | msm: ipa: add support for SMMU fastpathSkylar Chang2016-05-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for SMMU fast path configuration to allow efficient buffer DMA mapping/unmapping. CRs-Fixed: 1014404 Change-Id: Iaaa373db29d8b53e93ae1d3bf455ee066ed90dfd Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: add support for TX of sk_buff's with paged dataSkylar Chang2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | This support is needed to enable GSO (Generic Segmentation Offload) on msmcobalt. Change-Id: Id9949bef91835318a7b344753983eea0aeab7bdc Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: fix odu debugfsSkylar Chang2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix a bug in IPA ODU where debugfs directory was deleted after creation. CRs-Fixed: 1015545 Change-Id: I5aad7032f3f8048216a41765f1cf91fde98f6ade Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: WA for incorrect state retention for GSI channel 20Skylar Chang2016-05-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change in a software workaround for a hardware limitation to not use GSI channel 20. CRs-Fixed: 1005061 Change-Id: I4ed9f1c6ad089f80dcd19762fda151ce1572f471 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: add ipa_mhi to ipa_clientsAmir Levy2016-05-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of of IPA driver refactoring a separation has been made between IPA core driver and the IPA clients. MHI specific code in ipa_mhi.c has been transferred to a new file called ipa_mhi_client.c. IPA clients drivers are the interface between IPA core driver and external drivers. Specifically, ipa_mhi driver is the interface between the MHI driver and IPA core. CRs-fixed: 989505 Change-Id: Iebcde6d233ff8580aa83b1885f1e8a01644dd1f4 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | msm: gsi: fix for clearing IEOB interruptSkylar Chang2016-05-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clear IEOB interrupt only for channels that have IEOB interrupt enabled. This is needed to make sure IEOB interrupt is not missed after switching from polling to interrupt. CRs-Fixed: 1014388 Change-Id: Ia6484ed03d9508b827f8c7e4dadb84c14e306bd9 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: Fix to memory leak when sending non-linear dataSridhar Ancha2016-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In cases where source ep or dest ep is not valid, descriptor memory allocated for frag skb's is not freed. Make a change to free the memory in such error cases. Change-Id: Ie15c48ae1bb34e304795607a09c753360eb015ec Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa3: make function names consistent with ipav2Sridhar Ancha2016-05-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | Make changes to use consistent function names across v2 and V3 during SSR functionality. Change-Id: Ib9c79f4795d0be9ca00b3cda984ed89b61e58b02 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa: Add NETIF_F_SG to RMNET_IPA's hw featuresSridhar Ancha2016-05-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GSO segmented packets are getting linearized before being sent to rmnet_ipa interface since SG feature is not enabled. Add NETIF_F_SG to IPA's HW features so that ethtool can be used to enable it. Change-Id: I7b321c796935febb3fa3e9ae520fd65e00da507c Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa: Fix to polling modeSridhar Ancha2016-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When IPA clock is enabled, suspend bit is cleared and if pipe is non-empty EOT is posted internally. At the same time, there is a possibility that SPS driver posts EOT. This can result into incorrect state of polling state and switch to intr mode is tried repeatedly. Make a change to check if we are in intr mode already in addition to the polling state. Change-Id: I1af08605f7d2d234b0e5a4e3c8928db6cff5c7b4 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa3: Send limited chained descriptors to IPAGhanim Fodi2016-05-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As part of SSR IPA driver code, Filtering and Routing Q6 tables are being cleaned by pointing to empty tables. This is done via DMA_SHARED_MEM IPA immediate command to change SRAM tables pointers. Today code send one command per tables, but all are chained in single transaction. This will hit the chain size limitation defined by GSI IPA_IF TLV size. Change the code to send the commands in smaller chains. CRs-Fixed: 1012322 Change-Id: I03e9e92c2e01d1fece7e13dd412ea6128210f1fb Signed-off-by: Ghanim Fodi <gfodi@codeaurora.org>
* | | msm: ipa3: drain UL data for ECM/RNDIS tetheringSkylar Chang2016-05-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In some cases modem will delay USB uplink pipe for flow control. This will happen regardless of tethering protocol. This change sends a QMI message to modem to remove the delay on USB pipe in case of USB cable disconnect. CRs-Fixed: 1009199 Change-Id: I42cd716dcb87b814256a81418fecdff020f37d9d Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: add a general function for assertAmir Levy2016-05-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | In order to centralize IPA assert calls and add essential data on assertion, replace some BUG calls in an ipa_assert wrapper. CRs-fixed: 1006564 Change-Id: I6a9b679bb083c695908972b377e8779e2f1cca60 Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | msm_11ad: keep rf_clk3 on during wil6210 activityMaya Erez2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wil6210 FW needs to control rf_clk3 in order to allow the host to disable it. Keep rf_clk3 always on, as the current FW code doesn't support handling of rf_clk3. Change-Id: I552094c64bd9fb360ddd73022fe21a403c245b2f CRs-Fixed: 986130 Signed-off-by: Maya Erez <merez@codeaurora.org>
* | | msm: ipa: Fix memory free issueRavinder Konka2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When calling dma_free_coherent, there is a possibility that size 0 is passed as argument which can result into panic. Make a change to check for the size before calling the API. Change-Id: Idb248e1270b79b51e53de687793030a047fe6c73 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa: Fix suspend bit clearing on disconnected pipeRavinder Konka2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the USB pipe is getting disconnected there is a possibility that suspend bit will be cleared due to resource manager. Make a change to not to clean the suspend bit when pipe disconnection is in progress. Change-Id: I97ff3d53c12ed163ae5dbec184ed9445c901459e Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | ipa: Fix holb monitor response handling from UcRavinder Konka2016-05-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | At the point when ISR routine is triggered, if the IPA clients are 0, ISR handling will be deferred using power_mgmt_wq and same workqueue is used to send holb monitoring command after Uc is loaded. As a result response to holb monitoring command will not be honored. Make a change to use a different wq for sending holb monitoring command. Change-Id: I611155901e928fa8d9bbcbdf2511cd98aa36df2c Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa3: Move IPA headers building to IPAHALAmir Levy2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | IPA headers building is a logic related to H/W. As such, migrating this logic to IPAHAL (H/W abstraction layer) of IPA driver and adapt the core driver code to use it. New internal S/W API is added to access IPAHAL for headers building. CRs-fixed: 989231 Change-Id: I2cec6c6f9fe7aea0e2276b01133f8c3505b9919f Signed-off-by: Amir Levy <alevy@codeaurora.org>
* | | msm: ipa3: rmnet_ipa: add IPC logging to common bufferSkylar Chang2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IPC logging to IPA WAN driver. IPC logging will be stored in the same log buffer as IPA IPC log. CRs-Fixed: 1005492 Change-Id: I69f3536e297eae8453370b44f66ec0f520f16cd5 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa3: mhi: add IPC logging to common bufferSkylar Chang2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add IPC logging to IPA MHI driver. IPC logging will be stored in the same log buffer as IPA IPC log. CRs-Fixed: 1005492 Change-Id: I31acc2008800d213cc69003f9781fee04b5935aa Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: odu: change IPC logging to common bufferSkylar Chang2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | Use IPA driver IPC buffer for IPC logging for IPA ODU. CRs-Fixed: 1005492 Change-Id: Ibc5ee5145dee3980ddca3d9922663eb96420d011 Acked-by: Ady Abraham <adya@qti.qualcomm.com> Signed-off-by: Skylar Chang <chiaweic@codeaurora.org>
* | | msm: ipa: Fix to accessing ipa_q6_clnt handleSridhar Ancha2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a possibility that ipa_q6_clnt handle is used after it is freed espcially in scenarios where the handle is freed on service exited notification. Make a change to not clean up the handle when service is exited instead do it as part of BEFORE_POWERUP processing only. Change-Id: I789cdec6f056b17a605f3454e6cd5702542c454f Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa: Fix to update the descriptor length in SG scenarioSridhar Ancha2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When sending a SG packet, frag descriptor length is not updated and as a result IPA HW will stall. Make a change to update descriptor length to the size of fragment. Change-Id: Ie742148fe3b04677365a7247a89c2bed412e4d31 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>
* | | msm: ipa: Fix to release IPA clock during ap suspendSridhar Ancha2016-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When AP is going to suspend, there is a possibility that IPA clock is released twice due to sps_release_resource being called from 2 different contexts. Make a change to protect sps_release_resource to make sure IPA clock is released only once. Change-Id: I2d7d74e48ce80aa18cab2d42191db8d5edb4a076 Acked-by: Chaitanya Pratapa <cpratapa@qti.qualcomm.com> Signed-off-by: Sridhar Ancha <sancha@codeaurora.org>