Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1d31fbb5 authored by Gustavo Solaira's avatar Gustavo Solaira
Browse files

usb: gadget: f_ipc: Add IPC function driver for QRTR support



Add snapshot for f_ipc from msm-4.9 commit daaa935914c7
("usb: gadget: f_ipc: Use timeout when waiting for request completion").

Change-Id: I0a0750753b59c743c293ff0e979d4a86a054db5a
Signed-off-by: default avatarGustavo Solaira <gustavos@codeaurora.org>
parent 62942272
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -247,6 +247,9 @@ config USB_F_GSI
config USB_F_QDSS
	tristate

config USB_F_IPC
	tristate

# this first set of drivers all depend on bulk-capable hardware.

config USB_CONFIGFS
@@ -606,6 +609,15 @@ config USB_CONFIGFS_F_QDSS
	help
	  USB QDSS function driver to get hwtracing related data over USB.

config USB_CONFIGFS_F_IPC
	bool "USB IPC function"
	select USB_F_IPC
	depends on USB_CONFIGFS
	help
	  IPC function driver enables support for IPC messages port over USB.
	  This driver provides USB gadget access to the QRTR USB device mode
	  transport.

choice
	tristate "USB Gadget precomposed configurations"
	default USB_ETH
+2 −0
Original line number Diff line number Diff line
@@ -69,3 +69,5 @@ usb_f_gsi-y := f_gsi.o
obj-$(CONFIG_USB_F_GSI)		+= usb_f_gsi.o
usb_f_qdss-y			:= f_qdss.o u_qdss.o
obj-$(CONFIG_USB_F_QDSS)	+= usb_f_qdss.o
usb_f_ipc-y			:= f_ipc.o
obj-$(CONFIG_USB_F_IPC)		+= usb_f_ipc.o
+866 −0

File added.

Preview size limit exceeded, changes collapsed.

+66 −0

File added.

Preview size limit exceeded, changes collapsed.