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

Commit 877baca0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "USB: android: Set dev->enabled to true if android_enable fails"

parents c7f96214 a784b117
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3514,7 +3514,7 @@ static ssize_t enable_store(struct device *pdev, struct device_attribute *attr,
		if (err < 0) {
			pr_err("%s: android_enable failed\n", __func__);
			dev->connected = 0;
			dev->enabled = false;
			dev->enabled = true;
			mutex_unlock(&dev->mutex);
			return size;
		}