Skip to content
Commit 389e3f0d authored by Shailendra Verma's avatar Shailendra Verma Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarShailendra Verma <shailendra.v@samsung.com>
Reviewed-by: default avatarFabien Dessenne <fabien.dessenne@st.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 6e2e0eea
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment