drm/bridge: it6263: fix a memory leak when application changeset fails
Changeset application failure should be destroyed unreferenced object 0xffff0008f249a980 (size 128): comm "kworker/2:1", pid 83, jiffies 4294893542 (age 70.832s) hex dump (first 32 bytes): e0 b6 db 11 00 80 ff ff e0 b6 db 11 00 80 ff ff ................ 05 00 00 00 00 00 00 00 20 de 44 ff 08 00 ff ff ........ .D..... backtrace: [<00000000716ba1d6>] kmem_cache_alloc_trace+0x198/0x3a4 [<00000000ada5a5e3>] of_changeset_action+0x44/0xb4 [<000000003fae1004>] it6263_probe+0x248/0x4f4 [<000000009d4149ff>] i2c_device_probe+0x24c/0x2cc [<00000000f69bde36>] really_probe+0xec/0x414 [<00000000453d11fb>] driver_probe_device+0x60/0xf0 [<00000000b1fb76a2>] __device_attach_driver+0xb0/0x100 [<00000000e99e535e>] bus_for_each_drv+0x8c/0xe0 [<00000000b21b29c0>] __device_attach+0xe0/0x180 [<000000002d2d1388>] device_initial_probe+0x28/0x34 [<00000000bf4902c7>] bus_probe_device+0xa4/0xb0 [<00000000c14ec780>] device_add+0x35c/0x670 [<00000000b9ff486a>] device_register+0x2c/0x40 [<00000000a898d8bc>] i2c_new_client_device+0x150/0x28c [<000000000505c5a6>] i2c_new_device+0x2c/0x40 [<00000000b0c53a83>] of_i2c_register_devices+0xe8/0x180 Signed-off-by:Xiaolei Wang <xiaolei.wang@windriver.com> Signed-off-by:
Bruce Ashfield <bruce.ashfield@gmail.com>
Loading
Please register or sign in to comment