Re: [PATCH 2/2] ALSA: ac97: add codecs devicetree binding
From: Takashi Iwai
Date: Thu Jun 21 2018 - 15:45:52 EST
On Thu, 21 Jun 2018 17:43:56 +0200,
Robert Jarzmik wrote:
>
> Add a devicetree binding for codecs. This is especially useful if the
> AC97 bitclk clock is provided by the codec, as it has to be described in
> the devicetree description for the ac97 bus code to aquire it.
>
> Signed-off-by: Robert Jarzmik <robert.jarzmik@xxxxxxx>
> ---
> Special review query: review the "return of_node_get(node)", which
> assumes that upon device removal, of_put_node(dev.of_node) will be
> called...
Is it really done automagically? I couldn't spot it.
thanks,
Takashi