Commit 369259d5 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Chanwoo Choi
Browse files

extcon: qcom-spmi-misc: Fix wakeup source leaks on device unbind

parent 6f982d55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -155,7 +155,7 @@ static int qcom_usb_extcon_probe(struct platform_device *pdev)
	}

	platform_set_drvdata(pdev, info);
	device_init_wakeup(dev, 1);
	devm_device_init_wakeup(dev);

	/* Perform initial detection */
	qcom_usb_extcon_detect_cable(&info->wq_detcable.work);