Re: [PATCH] drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev

2022-01-04 Thread Robert Foss
Applied to drm-misc-next

Re: [PATCH] drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev

2022-01-04 Thread Robert Foss
On Mon, 27 Dec 2021 at 10:25, Miaoqian Lin wrote: > > 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: e25f1f7 ("drm/bridge/sii8620: add remote control support") >

[PATCH] drm/bridge: Fix free wrong object in sii8620_init_rcp_input_dev

2021-12-27 Thread Miaoqian Lin
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: e25f1f7 ("drm/bridge/sii8620: add remote control support") Signed-off-by: Miaoqian Lin --- drivers/gpu/drm/bridge/sil-sii