Skip to content
Snippets Groups Projects
Commit b79713db authored by Gianfranco Mariotti's avatar Gianfranco Mariotti
Browse files

[DRIVER] touch: cyttsp5: fix reset GPIO propname

parent b319045b
No related branches found
No related tags found
1 merge request!316[DRIVER] touch: cyttsp5: fix reset GPIO propname
......@@ -595,7 +595,7 @@ static struct cyttsp5_core_platform_data *create_and_get_core_pdata(
/* rst_gpio is optional since a platform may use
* power cycling instead of using the XRES pin
*/
pdata->rst_gpio = of_get_named_gpio(core_node, "cy,irq_gpio", 0);
pdata->rst_gpio = of_get_named_gpio(core_node, "cy,rst_gpio", 0);
if (!pdata->rst_gpio || !gpio_is_valid(pdata->rst_gpio) ){
pr_info("No valid irq gpio");
pdata->rst_gpio = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment