Commit aaa8f2e9 authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Greg Kroah-Hartman
Browse files

usb: typec: tipd: Fix wakeup source leaks on device unbind

parent 9fc5986f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1431,7 +1431,7 @@ static int tps6598x_probe(struct i2c_client *client)

	tps->wakeup = device_property_read_bool(tps->dev, "wakeup-source");
	if (tps->wakeup && client->irq) {
		device_init_wakeup(&client->dev, true);
		devm_device_init_wakeup(&client->dev);
		enable_irq_wake(client->irq);
	}