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

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

Merge "USB: configfs: Send DISCONNECT uevent during UDC bind"

parents 4283f880 147ca820
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -323,6 +323,9 @@ static ssize_t gadget_dev_desc_UDC_store(struct config_item *item,
			gi->composite.gadget_driver.udc_name = NULL;
			goto err;
		}
#ifdef CONFIG_USB_CONFIGFS_UEVENT
		schedule_work(&gi->work);
#endif
	}
	mutex_unlock(&gi->lock);
	return len;