[media] pvrusb2: Clean up file handle in open() error path
authorSantosh Kumar Singh <kumar.san1093@gmail.com>
Mon, 19 Dec 2016 17:20:37 +0000 (15:20 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:46:09 +0000 (07:46 -0200)
commit01faa0d9c79e9c6a52d33e01f953588a946e3d87
treee65acefddaf8d62dd642cd262abe17316501de67
parentc5b81fe36cc6ff2e5426dbee6c665a90f640069a
[media] pvrusb2: Clean up file handle in open() error path

Fix to avoid possible exit file handle in error paths.

Signed-off-by: Santosh Kumar Singh <kumar.san1093@gmail.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/pvrusb2/pvrusb2-v4l2.c