Re: [PATCH v2 0/3] ASoC: fix unbalanced of_node_get()/of_node_put()

From: Mark Brown
Date: Fri Jul 28 2017 - 06:08:31 EST


On Fri, Jul 28, 2017 at 01:26:09AM +0200, Antonio Borneo wrote:
> From: Antonio Borneo <borneo.antonio@xxxxxxxxx>
>
> On Hikey target board, enabling CONFIG_OF_DYNAMIC triggers several
> errors at kernel boot, like
> OF: ERROR: Bad of_node_put() on /soc/i2s@f7118000/ports/port@0
> OF: ERROR: Bad of_node_put() on /soc/i2s@f7118000/ports/port@0/endpoint
> each followed by stack dump.

Please take a look at the patches that Tony Lindgren has posted in the
past day for this issue which go into the of_graph API to make it less
error prone.

Attachment: signature.asc
Description: PGP signature