Searched hist:"7 c442e76c06cb1bef16a6c523487438175584eea" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/gpu/drm/bridge/ |
H A D | sil-sii8620.c | diff 7c442e76c06cb1bef16a6c523487438175584eea Mon Dec 27 03:25:22 CST 2021 Miaoqian Lin <linmq006@gmail.com> drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev
rc_dev is allocated by rc_allocate_device(), and doesn't assigned to ctx->rc_dev before calling rc_free_device(ctx->rc_dev). So it should call rc_free_device(rc_dev);
Fixes: e25f1f7c94e1 ("drm/bridge/sii8620: add remote control support") Signed-off-by: Miaoqian Lin <linmq006@gmail.com> Reviewed-by: Robert Foss <robert.foss@linaro.org> Signed-off-by: Robert Foss <robert.foss@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20211227092522.21755-1-linmq006@gmail.com
|