Re: [PATCH] ASoC: bcm: add missing call to of_node_put()

2021-03-08 Thread Scott Branden
Hi Yang, On 2021-03-07 11:18 p.m., Yang Li wrote: > In one of the error paths of the for_each_child_of_node() loop, > add missing call to of_node_put(). > > Fix the following coccicheck warning: > ./sound/soc/bcm/cygnus-ssp.c:1346:1-33: WARNING: Function > "for_each_available_child_of_node" shoul

[PATCH] ASoC: bcm: add missing call to of_node_put()

2021-03-07 Thread Yang Li
In one of the error paths of the for_each_child_of_node() loop, add missing call to of_node_put(). Fix the following coccicheck warning: ./sound/soc/bcm/cygnus-ssp.c:1346:1-33: WARNING: Function "for_each_available_child_of_node" should have of_node_put() before return around line 1352. Reported-