diff options
author | Thomas Hebb <[email protected]> | 2021-04-18 19:03:04 -0700 |
---|---|---|
committer | Heiko Stuebner <[email protected]> | 2021-05-28 19:54:03 +0200 |
commit | b354498bbe65c917d521b3b56317ddc9ab217425 (patch) | |
tree | 59f23d53518425bfde9e6bb0b4cf1720a7387e13 /scripts/gdb/linux/tasks.py | |
parent | 43c2de1002d2b70fb5941fa14e97a34e3dc214d4 (diff) |
drm/rockchip: dsi: remove extra component_del() call
commit cf6d100dd238 ("drm/rockchip: dsi: add dual mipi support") added
this devcnt field and call to component_del(). However, these both
appear to be erroneous changes left over from an earlier version of the
patch. In the version merged, nothing ever modifies devcnt, meaning
component_del() runs unconditionally and in addition to the
component_del() calls in dw_mipi_dsi_rockchip_host_detach(). The second
call fails to delete anything and produces a warning in dmesg.
If we look at the previous version of the patch[1], however, we see that
it had logic to calculate devcnt and call component_add() in certain
situations. This was removed in v6, and the fact that the deletion code
was not appears to have been an oversight.
[1] https://patchwork.kernel.org/project/dri-devel/patch/[email protected]/
Fixes: cf6d100dd238 ("drm/rockchip: dsi: add dual mipi support")
Cc: [email protected]
Signed-off-by: Thomas Hebb <[email protected]>
Signed-off-by: Heiko Stuebner <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/201385acb0eeb5dfb037afdc6a94bfbcdab97f99.1618797778.git.tommyhebb@gmail.com
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions