diff options
| author | Vamsi Krishna Samavedam <vskrishn@codeaurora.org> | 2017-02-03 22:01:17 -0800 |
|---|---|---|
| committer | Vamsi Krishna Samavedam <vskrishn@codeaurora.org> | 2017-02-03 22:41:03 -0800 |
| commit | c227be83aea2b75610839f2c9ecb4d1f2d9534f1 (patch) | |
| tree | c703d83e2d82d9eabe7fb06c3890157d21fb74cf /drivers/usb/gadget/function | |
| parent | 147b2394be6d487f75445ed84794b60c4dc8cfc8 (diff) | |
usb: diag: Set interface protocol to represent diag
PC tools can use this value to identify protocol used
by diag interface. For example, diag interface can use
firehouse or sahara or plain diag protocols. Update the
protocol value to represent plain diag.
Change-Id: Ifba80a21a99575d1fcdb54647319aea0822b8898
Signed-off-by: Vamsi Krishna Samavedam <vskrishn@codeaurora.org>
Diffstat (limited to 'drivers/usb/gadget/function')
| -rw-r--r-- | drivers/usb/gadget/function/f_diag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/f_diag.c b/drivers/usb/gadget/function/f_diag.c index da02ad557d34..72f22a469ff1 100644 --- a/drivers/usb/gadget/function/f_diag.c +++ b/drivers/usb/gadget/function/f_diag.c @@ -55,7 +55,7 @@ static struct usb_interface_descriptor intf_desc = { .bNumEndpoints = 2, .bInterfaceClass = 0xFF, .bInterfaceSubClass = 0xFF, - .bInterfaceProtocol = 0xFF, + .bInterfaceProtocol = 0x30, }; static struct usb_endpoint_descriptor hs_bulk_in_desc = { |
