summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2017-03-02 15:30:08 -0800
committerHemant Kumar <hemantk@codeaurora.org>2017-07-17 15:39:54 -0700
commit167d045c3d069afd80be58b394cea893bb54a2b5 (patch)
treed5bad48499dc68138f8c320aadc4b34c1a8ab9b1 /include
parent0ea2b1fc155e2c0b1483d0db781ffe8439dae58c (diff)
usb: gadget: f_qdss: Add support for mdm qdss channel
Driver needs to pass qdss data received from mdm qdss bridge driver to host PC. This requires a software data path using IN endpoint. Bridge driver needs to open qdss_mdm channel and use exported write() API to pass the qdss data received from mdm. Driver calls the notify call back upon write completion. Change-Id: I4d8ceaed0bf9c85aa17d3f49503cd690917cc117 Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Diffstat (limited to 'include')
-rw-r--r--include/linux/usb/usb_qdss.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/linux/usb/usb_qdss.h b/include/linux/usb/usb_qdss.h
index e01e6781eb21..f2b8782528a8 100644
--- a/include/linux/usb/usb_qdss.h
+++ b/include/linux/usb/usb_qdss.h
@@ -1,4 +1,4 @@
-/* Copyright (c) 2012-2013, The Linux Foundation. All rights reserved.
+/* Copyright (c) 2012-2013, 2017, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
@@ -15,6 +15,9 @@
#include <linux/kernel.h>
+#define USB_QDSS_CH_MDM "qdss_mdm"
+#define USB_QDSS_CH_MSM "qdss"
+
struct qdss_request {
char *buf;
int length;