[media] bdisp: Clean up file handle in open() error path
The File handle is not yet added in the vdev list.So no need to call v4l2_fh_del(&ctx->fh)if it fails to create control. Signed-off-by: NShailendra Verma <shailendra.v@samsung.com> Reviewed-by: NFabien Dessenne <fabien.dessenne@st.com> Signed-off-by: NHans Verkuil <hans.verkuil@cisco.com> Signed-off-by: NMauro Carvalho Chehab <mchehab@s-opensource.com>
Showing
想要评论请 注册 或 登录