linux
linux copied to clipboard
[i2c-aspeed] ERROR: Bad of_node_put()
I still have an ERROR on of_node_put. If I just comment it out, everything seems ok.
Log trace:
[ 0.720000] i2c_aspeed 1e78a000.i2c: i2c controller registered, irq 20
[ 0.720000] ERROR: Bad of_node_put() on /ahb/apb/i2c@1e78a000/i2c-bus@40
[ 0.720000] CPU: 0 PID: 1 Comm: swapper Not tainted 4.7.10-8c7da38063c14868eab25e9d3273b6e6c304f4be #1
[ 0.720000] Hardware name: ASpeed SoC
[ 0.720000] [<c0106cfc>] (unwind_backtrace) from [<c0104f04>] (show_stack+0x10/0x14)
[ 0.720000] [<c0104f04>] (show_stack) from [<c02720ac>] (kobject_put+0x178/0x1f4)
[ 0.720000] [<c02720ac>] (kobject_put) from [<c02f9d24>] (__of_get_next_child+0x40/0x48)
[ 0.720000] [<c02f9d24>] (__of_get_next_child) from [<c02fa314>] (of_get_next_child+0x14/0x1c)
[ 0.720000] [<c02fa314>] (of_get_next_child) from [<c02ee1e4>] (ast_i2c_probe+0x160/0x420)
[ 0.720000] [<c02ee1e4>] (ast_i2c_probe) from [<c02baecc>] (platform_drv_probe+0x38/0x6c)
[ 0.720000] [<c02baecc>] (platform_drv_probe) from [<c02b9ae4>] (driver_probe_device+0x1ac/0x3d8)
[ 0.720000] [<c02b9ae4>] (driver_probe_device) from [<c02b9dd8>] (__driver_attach+0xc8/0x108)
[ 0.720000] [<c02b9dd8>] (__driver_attach) from [<c02b7f7c>] (bus_for_each_dev+0x78/0xb4)
[ 0.720000] [<c02b7f7c>] (bus_for_each_dev) from [<c02b87f0>] (bus_add_driver+0x110/0x230)
[ 0.720000] [<c02b87f0>] (bus_add_driver) from [<c02ba4a4>] (driver_register+0x9c/0xe0)
[ 0.720000] [<c02ba4a4>] (driver_register) from [<c0500e4c>] (do_one_initcall+0xb8/0x17c)
[ 0.720000] [<c0500e4c>] (do_one_initcall) from [<c0501010>] (kernel_init_freeable+0x100/0x1c4)
[ 0.720000] [<c0501010>] (kernel_init_freeable) from [<c03f18e8>] (kernel_init+0x8/0x10c)
[ 0.720000] [<c03f18e8>] (kernel_init) from [<c0102250>] (ret_from_fork+0x14/0x24)
[ 0.920000] ERROR: Bad of_node_put() on /ahb/apb/i2c@1e78a000/i2c-bus@80
...
[ 0.920000] ERROR: Bad of_node_put() on /ahb/apb/i2c@1e78a000/i2c-bus@c0
...
[ 1.240000] ERROR: Bad of_node_put() on /ahb/apb/i2c@1e78a000/i2c-bus@100