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

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

Merge "input: touchscreen: st: release Int/Reset resource"

parents a83e2197 22c3dd53
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -4678,6 +4678,8 @@ static int fts_probe(struct i2c_client *client,

ProbeErrorExit_3:
	fts_enable_reg(info, false);
	fts_gpio_setup(info->bdata->irq_gpio, false, 0, 0);
	fts_gpio_setup(info->bdata->reset_gpio, false, 0, 0);

ProbeErrorExit_2:
	fts_get_reg(info, false);
@@ -4737,6 +4739,9 @@ static int fts_remove(struct i2c_client *client)
	destroy_workqueue(info->fwu_workqueue);

	fts_enable_reg(info, false);
	fts_gpio_setup(info->bdata->irq_gpio, false, 0, 0);
	fts_gpio_setup(info->bdata->reset_gpio, false, 0, 0);

	fts_get_reg(info, false);

	/* free all */