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

Commit 21430fbc authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: qdss: Don't clear debug_inface_enabled upon unbind"

parents 93e270aa 22dc36df
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -503,8 +503,6 @@ static void qdss_unbind(struct usb_configuration *c, struct usb_function *f)
	qdss_string_defs[QDSS_DATA_IDX].id = 0;
	qdss_string_defs[QDSS_CTRL_IDX].id = 0;

	qdss->debug_inface_enabled = 0;

	clear_eps(f);
	clear_desc(gadget, f);
}
@@ -981,7 +979,9 @@ static void qdss_cleanup(void)

static void qdss_free_func(struct usb_function *f)
{
	/* Do nothing as usb_qdss_alloc() doesn't alloc anything. */
	struct f_qdss *qdss = func_to_qdss(f);

	qdss->debug_inface_enabled = false;
}

static inline struct usb_qdss_opts *to_f_qdss_opts(struct config_item *item)