Re: [PATCH 1/3] Input: twl4030-vibra: fix sibling-node lookup

From: Johan Hovold
Date: Mon Dec 11 2017 - 05:21:29 EST


On Sat, Nov 11, 2017 at 04:43:37PM +0100, Johan Hovold wrote:
> A helper purported to look up a child node based on its name was using
> the wrong of-helper and ended up prematurely freeing the parent of-node
> while searching the whole device tree depth-first starting at the parent
> node.
>
> Fixes: 64b9e4d803b1 ("input: twl4030-vibra: Support for DT booted kernel")
> Fixes: e661d0a04462 ("Input: twl4030-vibra - fix ERROR: Bad of_node_put() warning")
> Cc: stable <stable@xxxxxxxxxxxxxxx> # 3.7
> Cc: Peter Ujfalusi <peter.ujfalusi@xxxxxx>
> Cc: Marek Belisko <marek@xxxxxxxxxxxxx>
> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
> ---

Just wanted to send a reminder about this series. I believe these bugs
need to be fixes regardless of whether MFD-core eventually provides some
means of avoiding such lookups in cell drivers (i.e. the discussion
which appears to have stalled).

Thanks,
Johan