[linux-yocto][PATCH v5.10/standard/base 1/1] gpio: gpio-altera: Add missing of_node_put() in altera_gpio_probe

2024-01-17 Thread jason.lau via lists.yoctoproject.org
Fix following error: OF: ERROR: memory leak, expected refcount 1 instead of 2, of_node_get()/of_node_put() unbalanced - destroy cset entry: attach overlay node /soc/gpio@df020180 After finishing using device node got from of_mm_gpiochip_add_data(), of_node_put() needs to be called. The re

Re: [linux-yocto][PATCH v5.10/standard/base 1/1] gpio: gpio-altera: Add missing of_node_put() in altera_gpio_probe

2024-01-18 Thread Bruce Ashfield
Since this is targeted at all BSPs, we should indicate if the patch is a backport/cherry-pick or if it has also been submitted upstream. Bruce In message: [linux-yocto][PATCH v5.10/standard/base 1/1] gpio: gpio-altera: Add missing of_node_put() in altera_gpio_probe on 18/01/2024 Haitao Liu