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

Commit a5370b86 authored by Ajay Agarwal's avatar Ajay Agarwal
Browse files

Revert "usb: gadget: Add flag to determine gadget controller"



This reverts commit ac38cd8c
to fix the compilation error because of the typo is_chipiea.

Change-Id: I92a7d5f7353b59518c8cbdfa8b5ae94b10cf214c
Signed-off-by: default avatarAjay Agarwal <ajaya@codeaurora.org>
parent be5c1d18
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -3808,7 +3808,6 @@ static int udc_probe(struct ci13xxx_udc_driver *driver, struct device *dev,
	udc->gadget.max_speed    = USB_SPEED_HIGH;
	udc->gadget.is_otg       = 0;
	udc->gadget.name         = driver->name;
	udc->gadget.is_chipiea   = true;

	/* alloc resources */
	udc->qh_pool = dma_pool_create("ci13xxx_qh", dev,
+0 −2
Original line number Diff line number Diff line
@@ -481,7 +481,6 @@ struct usb_gadget_ops {
 * @bam2bam_func_enabled; Indicates function using bam2bam is enabled or not.
 * @extra_buf_alloc: Extra allocation size for AXI prefetch so that out of
 * boundary access is protected.
 * @is_chipidea: True if ChipIdea device controller
 *
 * Gadgets have a mostly-portable "gadget driver" implementing device
 * functions, handling all usb configurations and interfaces.  Gadget
@@ -538,7 +537,6 @@ struct usb_gadget {
	bool				bam2bam_func_enabled;
	u32				extra_buf_alloc;
	bool				l1_supported;
	bool                            is_chipidea;
};
#define work_to_gadget(w)	(container_of((w), struct usb_gadget, work))