summaryrefslogtreecommitdiff
path: root/drivers/usb (follow)
Commit message (Collapse)AuthorAge
...
* | | | | | | | | Merge "usb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAM"Linux Build Service Account2016-10-06
|\| | | | | | | | | |_|_|/ / / / / |/| | | | | | |
| * | | | | | | usb: gadget: f_qc_rndis: Add RNDIS support using IPA over BAM2BAMChandana Kishori Chiluveru2016-10-03
| |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On some targets RNDIS function uses BAM to BAM transport, and is handled by the f_qc_rndis driver. This change adds RNDIS support using IPA over BAM2BAM. Also removes all different supported control and data transports and assume BAM2BAM_IPA as default mode. RNDIS UL changes using software path also removed as IPA supports both UL and DL on latest products. DPL support will be added in subsequent patches. Change-Id: I8f7bf069523a8f3ea37e0a32a2e32830944a5c97 Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
* | | | | | | Merge "usb: gadget: f_cdev: Fix memory leak with func_name"Linux Build Service Account2016-10-01
|\ \ \ \ \ \ \
| * | | | | | | usb: gadget: f_cdev: Fix memory leak with func_nameMayank Rana2016-09-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | func_name related memory is allocated on creating instance of driver with cser_set_inst_name() API with usage of kstrndup(). If cser_set_inst_name() returns non-zero value or driver instance is released, this func_name related memory is not freed. Fix this memory leak by freeing func_name from cser_free_inst() API. CRs-Fixed: 1070060 Change-Id: I7ba4c5a65bb01d056b4d2690fe30f7cbe47ba311 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | Merge "usb: gadget: f_cdev: Remove func_name and port_num attributes"Linux Build Service Account2016-10-01
|\ \ \ \ \ \ \ \
| * | | | | | | | usb: gadget: f_cdev: Remove func_name and port_num attributesMayank Rana2016-09-23
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | func_name and port_num attributes related information is already available as part of created driver instance name itself. These attributes don't give any valuable information. Hence remove both attributes and related functionality. Add check against length of func_name. CRs-Fixed: 1069476 Change-Id: Ibfc050cda62cfc7e5838949ae833a9d7c0a59303 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | Merge "usb: pd: Print out source/sink subtypes"Linux Build Service Account2016-09-30
|\ \ \ \ \ \ \ \
| * | | | | | | | usb: pd: Print out source/sink subtypesJack Pham2016-09-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add additional verbiage to the info logs to help determine the type of source cable connected: default, medium or high current. Similarly, if a sink is attached, indicate whether it is with a powered cable or not. Change-Id: I0687365827cdbb8a1b7168a2b676b1afd2f576f6 Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | | | | | Merge "usb: pd: Clear requested_voltage/current values on disconnect"Linux Build Service Account2016-09-30
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | usb: pd: Clear requested_voltage/current values on disconnectJack Pham2016-08-22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | During valid sink hard reset, if requested_current was non-zero, the power_supply CURRENT_MAX property is set to 0 to tell the charger driver to suspend charging while the source resets. However, for non-PD sources this is not needed, and in fact would falsely tell the charger to suspend charging indefinitely since there is no event to restore a non-zero current vote. The bug here is that although there is a check for non-zero requested_current, this could be a stale value from a previous PD session, and a subsequent non-PD adapter plugin results in no charging. Fix this by clearing requested_voltage and requested_current on disconnect. Change-Id: Ie770546916e24faa2932b64dee6277435a27ce3b Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | | | | | | Merge "usb: pd: Add support to set the maximum speed via extcon"Linux Build Service Account2016-09-30
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | |
| * | | | | | | | | usb: pd: Add support to set the maximum speed via extconHemant Kumar2016-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Driver sets the speed using extcon cable state flag. This allows to start host or peripheral in selected speed. By default start peripheral in super speed mode. However, starting host in super speed consumes more power so to achieve lower consumption default it to high speed only. Add module params to override the default behavior as follows: # echo Y|N > /sys/module/policy_engine/parameters/ss_dev # echo Y|N > /sys/module/policy_engine/parameters/ss_host Change-Id: I2a45a4149f593a129b4dd123df730405169404f9 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org> Signed-off-by: Jack Pham <jackp@codeaurora.org>
| * | | | | | | | | usb: dwc3: Add support to select maximum speed via extcon notificationHemant Kumar2016-09-19
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use extcon notification to select the maximum speed for host as well as for peripheral mode. Notification handler sets maximum speed based on the extcon cable state flag. This provides an option to start host or peripheral in high speed only mode and leave ss phy suspended. Change-Id: Ic48c661e68a293822d30cbd491e0fe6e46d385c9 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org> Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | | | | | usb: dwc3: fix overriding core clock rate to default maxVamsi Krishna Samavedam2016-09-28
| |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the bug introduced by commit 82d4ec97786d ("usb: Add support for reset controller framework") which overrides the core clock rate from device tree. Change-Id: Ic3ef2229fa8552301e09dfb912e79e044a81324f Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
* | | | | | | | Merge "usb: gadget: f_cdev: Avoid potential NULL pointer dereference"Linux Build Service Account2016-09-24
|\ \ \ \ \ \ \ \
| * | | | | | | | usb: gadget: f_cdev: Avoid potential NULL pointer dereferenceMayank Rana2016-09-23
| | |_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix possible NULL pointer dereference issue as strrchr() API can return NULL if there is no port_num found as part of passed string. Change-Id: I410e58361282f175e46b68cbfaf4824e386454f8 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | Merge "USB: gadget: f_fs: Use %zu when printing size_t"Linux Build Service Account2016-09-23
|\ \ \ \ \ \ \ \
| * | | | | | | | USB: gadget: f_fs: Use %zu when printing size_tManu Gautam2016-09-22
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using %lu for size_t gives compilation error on 32bit system. Replace this with %zu which should be used to print size_t on both 32bit and 64bit machines. Change-Id: Id8a42dec3e081187054cb2353ba3473bae9dd547 CRs-fixed: 1069970 Signed-off-by: Manu Gautam <mgautam@codeaurora.org>
* | | | | | | | Merge "usb: gadget: gsi: Set NUM_OF_TRB as 15 for IN and OUT GSI endpoints"Linux Build Service Account2016-09-23
|\ \ \ \ \ \ \ \
| * | | | | | | | usb: gadget: gsi: Set NUM_OF_TRB as 15 for IN and OUT GSI endpointsMayank Rana2016-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is recommended to use NUM_OF_TRB greater than USB controller's TRB cache size. Currently USB controller's TRB cache size on GSI available platform is 12. TRB ring base address must be aligned to TRB ring length rounded to power of two. Hence set NUM_OF_TRB as 15 for both IN and OUT GSI endpoints. CRs-Fixed: 1067833 Change-Id: Iab8b0bc6fd17183fc6056f06a90421cde24987c8 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | | Merge "dwc3: core: clear DELAYP1TRANS with USB3PIPECTL register"Linux Build Service Account2016-09-23
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | dwc3: core: clear DELAYP1TRANS with USB3PIPECTL registerMayank Rana2016-09-21
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit fd115e68971b ("dwc3: core: Don't perform controller and PHYs soft reset") removed clearing DELAYP1TRANS. It is recommended to clear DELAYP1TRANS bit with USB3PIPECTL register which controls USB controller allowing USB QMP PHY low power transitions. Change-Id: I54ba694f4c997bf5ecc540cee274e2cb07b77446 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | | Merge "usb: phy: qusb: Reset clock mux to avoid leakage on vdd rail"Linux Build Service Account2016-09-23
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | usb: phy: qusb: Reset clock mux to avoid leakage on vdd railVamsi Krishna Samavedam2016-09-19
| | |_|/ / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reset the clock mux when cable is disconnected and suspended to avoid leakage on vdd rail. Also, add missing clock reset when usb cable connect is notified. Change-Id: If5485379934a222f19f5dd20b8d4f44769470e8d Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
* | | | | | | | | Merge "usb: gadget: composite: fix dereference after null check coverify ↵Linux Build Service Account2016-09-23
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | warning"
| * | | | | | | | | usb: gadget: composite: fix dereference after null check coverify warningPeter Chen2016-09-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cdev->config is checked for null pointer at above code, so cdev->config might be null, fix it by adding null pointer check. Change-Id: Ie919a2a886924f1b1e01415bfdaa53f74046f5b0 Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Git-commit: c526c62d565ea5a5bba9433f28756079734f430d Git-repo: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git Signed-off-by: Jack Pham <jackp@codeaurora.org>
| * | | | | | | | | usb: pd: Avoid potential NULL ptr dereferencesJack Pham2016-09-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Check that a valid pointer was passed in addition to non-zero length to avoid dereferencing NULL pointers in functions where data is copied from policy engine to the PD PHY. Issues were identified with static analysis tool. Change-Id: Ib42aad9e0d838eda4653e0bab9f074b3031983dd Signed-off-by: Jack Pham <jackp@codeaurora.org>
* | | | | | | | | | Merge "usb: gadget: Enable L1 suspend by default"Linux Build Service Account2016-09-23
|\ \ \ \ \ \ \ \ \ \ | |_|_|/ / / / / / / |/| | | | | | | | |
| * | | | | | | | | usb: gadget: Enable L1 suspend by defaultHemant Kumar2016-09-19
| | |/ / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently L1 suspend is disabled. Superspeed capable device needs to support L1 suspend in HS/FS/LS mode. Also, add module parameter to disable L1 suspend in High speed mode. Change-Id: Ie8e7f3949d276325305799640f2775343bd6b9da Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
* | | | | | | | | Merge "Revert "usb: dwc3: gadget: start requests as soon as they come""Linux Build Service Account2016-09-19
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Revert "usb: dwc3: gadget: start requests as soon as they come"Hemant Kumar2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 1d6a39186b37b6f5097f9cdee8fcbfc24d231428 ("usb: dwc3: gadget: start requests as soon as they come"). Queuing request as soon as they come without waiting for XFER_NOT_READY event resulting into usb transfer stall. Change-Id: Ic08b2da2983a520a07a0b225254c068d499a67cc Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
| * | | | | | | | | Revert "usb: dwc3: gadget: start transfer on XFER_COMPLETE"Hemant Kumar2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 8a1a9c9e4503f246b1d4339c5be3485e14c31858 ("usb: dwc3: gadget: start transfer on XFER_COMPLETE"). This optimization is resulting into transfer stall for an endpoint. Hence start transfer only from XFER_NOT_READY event. Change-Id: Idcd7ae3de3cb85b84c3db7f367b56b097561b2dd Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
| * | | | | | | | | Revert "usb: dwc3: gadget: use Update Transfer from Xfer In Progress"Hemant Kumar2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit e6e709b7ab89a0d9ec0d803cb2f3b66902145ba0 ("usb: dwc3: gadget: use Update Transfer from Xfer In Progress"). Issueing update transfer command for on-demand transfers reslting into transfer stall. Change-Id: I5dd4818e07a3297dd9226169741d8753b2f57a2e Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
| * | | | | | | | | dwc3: gadget: Avoid starting next transfer if transfer is activeMayank Rana2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | XFERNOTREADY event provides status about current transfer. Hence if transfer is active, then avoid starting next transfer by calling __dwc3_gadget_kick_transfer() API. Otherwise USB controller stalls to perform data transfer on that endpoint due to starting new transfer without completing in progress transfer. Change-Id: I90370e7e5de55b499a78fbfe5e913f39ec22c7e5 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | | | Merge "Revert "usb: dwc3: gadget: use update transfer command""Linux Build Service Account2016-09-19
|\| | | | | | | | | | |/ / / / / / / / |/| | | | | | | |
| * | | | | | | | Revert "usb: dwc3: gadget: use update transfer command"Hemant Kumar2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6bb4fe12ea089da98b89dc2630d2273d60fe0c29 ("usb: dwc3: gadget: use update transfer command"). If we get a Xfer Not Ready event with reason "Transfer Active" issuing update transfer for the endpoint for any pending request results into transfer stall on the endpoint. Hence do not use update transfer command for on-demad transfers. Change-Id: Iec1c5913efe1dd266506f973951f22a2170fce77 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
* | | | | | | | | Merge "Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt ↵Linux Build Service Account2016-09-17
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | transfers""
| * | | | | | | | Revert "usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers"Mayank Rana2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change reverts Commit f3af36511e60 ("usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers") which sets IOC bit for both bulk/interrupt transfers resulting into interrupt for each TRB completion with event as XFERINPROGRESS. In some cases it has been observed that controller is not able to complete provided TRB on bulk-in endpoint causing stall conditions. Hence Fix this issue by not setting IOC bit for each TRB to receive XFERCOMPLETE interrupt with it. Change-Id: I5ff08188f37044332f7dadba8d677288e83bfec8 Signed-off-by: Mayank Rana <mrana@codeaurora.org> Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
| * | | | | | | | Revert "usb: dwc3: fix TRB completion when multiple TRBs are started"Mayank Rana2016-09-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 0b93a4c838fa ("usb: dwc3: fix TRB completion when multiple TRBs are started") enables XFERINPROGRESS event with all endpoint type except control endpoint. Currently we are not using XFERINPROGRESS for queuing next request and depends on XFERNOTREADY event only. Change-Id: I833c2311c5af48fd15f2813df9cc83c3471c4f94 Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | | Merge "Revert "usb: gsi: Queue control notification on gsi_resume""Linux Build Service Account2016-09-17
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Revert "usb: gsi: Queue control notification on gsi_resume"Mayank Rana2016-09-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit <fae741edccb> ("usb: gsi: Queue control notification on gsi_resume") as expected notification is not queued resulting into mismatch of QMI transaction packet. CRs-Fixed: 1067006 Change-Id: I4abdd79699d47054e268978aae9199f1d5d1ddcb Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | | | Merge "USB: f_accessory: Fix NULL pointer dereference in acc_read()"Linux Build Service Account2016-09-17
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|/ / / / / / |/| | | | | | | | |
| * | | | | | | | | USB: f_accessory: Fix NULL pointer dereference in acc_read()Vijayavardhan Vennapusa2016-09-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If user tries to read /dev/usb_accessory node, it results in calling acc_read() callback. If accessory interface is not present in current USB composition, it will lead to crash as dev->ep_out is NULL. Fix the issue by moving problematic code down after device becomes online. Change-Id: I6441f6dc3cbe3a84a384fa3e8a6583f65a74659d Signed-off-by: Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
* | | | | | | | | | usb: gadget: gsi: Kick state machine with MESSAGE_PACKET_FILTER for RNDISMayank Rana2016-09-15
| |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit <5b42bd749e8c> ("usb: gadget: gsi: Optimize TRB's buffer allocation functionality") is kicking ipa_work_handler state machine as part of set_alt() for RNDIS function which results into giving max_xfer_size_bytes_to_host value as zero as RNDIS_INIT_MSG from host may not have received here. This results into low throughput due to device is sending more than accepted aggregated bytes as part of one USB transfer to host. Fix this issue by delaying RNDIS IPA initialization till MESSAGE_PACKET_FILTER is received from host which makes sure that proper aggregation parameters are passed to IPA driver to configure hardware accerlerated path. For non-rndis tethered interface, ipa_usb_notify_cb() posts EVT_CONNECTED to enable IPA GSI data path (i.e. calling ipa_data_path_enable() API). CRs-Fixed: 1065003 Change-Id: I4ce62745c82b4488cb1370248ab64951497493cd Signed-off-by: Mayank Rana <mrana@codeaurora.org>
* | | | | | | | | Merge "Merge branch 'tmp-bab1564' into msm-4.4"Linux Build Service Account2016-09-13
|\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'tmp-bab1564' into msm-4.4Runmin Wang2016-09-12
| |\ \ \ \ \ \ \ \ \ | | |_|/ / / / / / / | |/| | | | | / / / | | | |_|_|_|/ / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tmp-bab1564: ANDROID: mmc: Add CONFIG_MMC_SIMULATE_MAX_SPEED android: base-cfg: Add CONFIG_INET_DIAG_DESTROY cpufreq: interactive: only apply interactive boost when enabled cpufreq: interactive: fix policy locking ANDROID: dm verity fec: add sysfs attribute fec/corrected ANDROID: android: base-cfg: enable CONFIG_DM_VERITY_FEC UPSTREAM: dm verity: add ignore_zero_blocks feature UPSTREAM: dm verity: add support for forward error correction UPSTREAM: dm verity: factor out verity_for_bv_block() UPSTREAM: dm verity: factor out structures and functions useful to separate object UPSTREAM: dm verity: move dm-verity.c to dm-verity-target.c UPSTREAM: dm verity: separate function for parsing opt args UPSTREAM: dm verity: clean up duplicate hashing code UPSTREAM: dm: don't save and restore bi_private mm: Export do_munmap sdcardfs: remove unneeded __init and __exit sdcardfs: Remove unused code fs: Export d_absolute_path sdcardfs: remove effectless config option inotify: Fix erroneous update of bit count fs: sdcardfs: Declare LOOKUP_CASE_INSENSITIVE unconditionally trace: cpufreq: fix typo in min/max cpufreq sdcardfs: Add support for d_canonical_path vfs: add d_canonical_path for stacked filesystem support sdcardfs: Bring up to date with Android M permissions: Changed type-casting in packagelist management Port of sdcardfs to 4.4 Included sdcardfs source code for kernel 3.0 ANDROID: usb: gadget: Add support for MTP OS desc CHROMIUM: usb: gadget: f_accessory: add .raw_request callback CHROMIUM: usb: gadget: audio_source: add .free_func callback CHROMIUM: usb: gadget: f_mtp: fix usb_ss_ep_comp_descriptor CHROMIUM: usb: gadget: f_mtp: Add SuperSpeed support FROMLIST: mmc: block: fix ABI regression of mmc_blk_ioctl FROMLIST: mm: ASLR: use get_random_long() FROMLIST: drivers: char: random: add get_random_long() FROMLIST: pstore-ram: fix NULL reference when used with pdata usb: u_ether: Add missing rx_work init ANDROID: dm-crypt: run in a WQ_HIGHPRI workqueue misc: uid_stat: Include linux/atomic.h instead of asm/atomic.h hid-sensor-hub.c: fix wrong do_div() usage power: Provide dummy log_suspend_abort_reason() if SUSPEND is disabled PM / suspend: Add dependency on RTC_LIB drivers: power: use 'current' instead of 'get_current()' video: adf: Set ADF_MEMBLOCK to boolean video: adf: Fix modular build net: ppp: Fix modular build for PPPOLAC and PPPOPNS net: pppolac/pppopns: Replace msg.msg_iov with iov_iter_kvec() ANDROID: mmc: sdio: Disable retuning in sdio_reset_comm() ANDROID: mmc: Move tracepoint creation and export symbols ANDROID: kernel/watchdog: fix unused variable warning ANDROID: usb: gadget: f_mtp: don't use le16 for u8 field ANDROID: lowmemorykiller: fix declaration order warnings ANDROID: net: fix 'const' warnings net: diag: support v4mapped sockets in inet_diag_find_one_icsk() net: tcp: deal with listen sockets properly in tcp_abort. tcp: diag: add support for request sockets to tcp_abort() net: diag: Support destroying TCP sockets. net: diag: Support SOCK_DESTROY for inet sockets. net: diag: Add the ability to destroy a socket. net: diag: split inet_diag_dump_one_icsk into two Revert "mmc: Extend wakelock if bus is dead" Revert "mmc: core: Hold a wake lock accross delayed work + mmc rescan" ANDROID: mmc: move to a SCHED_FIFO thread Conflicts: drivers/cpufreq/cpufreq_interactive.c drivers/misc/uid_stat.c drivers/mmc/card/block.c drivers/mmc/card/queue.c drivers/mmc/card/queue.h drivers/mmc/core/core.c drivers/mmc/core/sdio.c drivers/staging/android/lowmemorykiller.c drivers/usb/gadget/function/f_mtp.c kernel/watchdog.c Signed-off-by: Runmin Wang <runminw@codeaurora.org> Change-Id: Ibb4db11c57395f67dee86211a110c462e6181552
| | * | | | | | | Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-androidAlex Shi2016-04-21
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: d_canonical_path in include/linux/dcache.h
| | * \ \ \ \ \ \ \ Merge branch 'linux-linaro-lsk-v4.4' into linux-linaro-lsk-v4.4-androidAlex Shi2016-04-13
| | |\ \ \ \ \ \ \ \
| | * | | | | | | | | ANDROID: usb: gadget: Add support for MTP OS descBadhri Jagan Sridharan2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Windows requires OS specific descriptors for automatic install of drivers for MTP devices. https://msdn.microsoft.com/en-us/library/windows/ hardware/gg463179.aspx BUG=24583401 BUG=chrome-os-partner:43409 Change-Id: I9397072ca3d183efbc9571c6cde3790f10d8851e Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com> Reviewed-on: https://chromium-review.googlesource.com/304346 Commit-Ready: Andrew Bresticker <abrestic@chromium.org> Tested-by: Andrew Bresticker <abrestic@chromium.org> Reviewed-by: Andrew Bresticker <abrestic@chromium.org> Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
| | * | | | | | | | | CHROMIUM: usb: gadget: f_accessory: add .raw_request callbackMark Kuo2016-04-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | After this upstream commit: 3c86726cfe38952f0366f86acfbbb025813ec1c2, .raw_request is mandatory in hid_ll_driver structure, hence add an empty raw_request() function. BUG=chrome-os-partner:49140 TEST=none Change-Id: Idd0bbe6960aad2c557376e4a24827d7e1df8e023 Signed-off-by: Mark Kuo <mkuo@nvidia.com> Reviewed-on: https://chromium-review.googlesource.com/321038 Commit-Ready: Andrew Bresticker <abrestic@chromium.org> Tested-by: Andrew Bresticker <abrestic@chromium.org> Reviewed-by: Andrew Bresticker <abrestic@chromium.org>