On Mon, Jul 27, 2015 at 05:30:51PM +0300, Vladimir Zapolskiy wrote: > This change is needed to properly lock I2C parent bus driver. > > Prior to this change i2c_put_adapter() is misused, which may lead > to an overflow over zero of I2C bus driver user counter. > > By the way added a missing of_node_put() to eliminate memory leak, > if OF_DYNAMIC is enabled. > > Signed-off-by: Vladimir Zapolskiy <vladimir_zapolskiy@xxxxxxxxxx> > Cc: Doug Anderson <dianders@xxxxxxxxxxxx> Applied to for-next! However... > + of_node_put(parent_np); I removed this line. Please resend this as a seperate patch since it fixes a seperate issue. Thanks, Wolfram
Attachment:
signature.asc
Description: Digital signature