[media] ivtv: Clean up file handle in open() error path
authorSantosh Kumar Singh <kumar.san1093@gmail.com>
Mon, 19 Dec 2016 17:12:07 +0000 (15:12 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:45:47 +0000 (07:45 -0200)
commitc5b81fe36cc6ff2e5426dbee6c665a90f640069a
tree78003af43cb8c4ba37a79d7bdc1ed4853bb55ad8
parent1e071039b1535e2a781acc750681deb2eb838565
[media] ivtv: 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/pci/ivtv/ivtv-alsa-pcm.c