lkml.org 
[lkml]   [2017]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] i2c: core: decrease reference count of device node in i2c_unregister_device
On Mon, Nov 27, 2017 at 03:06:55PM +0800, Lixin Wang wrote:
> Reference count of device node was increased in of_i2c_register_device,
> but without decreasing it in i2c_unregister_device.

Huh, there is an of_node_put(bus) in of_i2c_register_device?

> Then the dynamically
> added device node will never be released.

Strange. Can you provide your test case, please?

[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2017-11-27 19:21    [W:0.055 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site