Skip to content
Commit e9b4e571 authored by Xiaolei Wang's avatar Xiaolei Wang Committed by Bruce Ashfield
Browse files

drm/bridge: adv7511: fix a memory leak when application changeset fails



Changeset application failure should be destroyed

unreferenced object 0xffff0008f2656480 (size 128):
  comm "kworker/2:1", pid 83, jiffies 4294893570 (age 70.724s)
  hex dump (first 32 bytes):
    c0 b6 db 11 00 80 ff ff c0 b6 db 11 00 80 ff ff  ................
    02 00 00 00 00 00 00 00 28 9e 45 ff 08 00 ff ff  ........(.E.....
  backtrace:
    [<00000000716ba1d6>] kmem_cache_alloc_trace+0x198/0x3a4
    [<00000000ada5a5e3>] of_changeset_action+0x44/0xb4
    [<00000000c16b0c5f>] adv7511_probe+0x8c4/0x948
    [<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: default avatarXiaolei Wang <xiaolei.wang@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent f8e15937
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment