[media] ivtv: fix sparse warning
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 13 Dec 2014 11:52:53 +0000 (08:52 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Dec 2014 12:40:59 +0000 (10:40 -0200)
commitd832672f2038d7b36dc08636468cbbed4afe625b
tree41983c164d0f7f027988b97e7a165689552367de
parent65adb86d6142f1233e84c81112907f4caa6afffd
[media] ivtv: fix sparse warning

Fix this warning:

drivers/media/pci/ivtv/ivtv-irq.c:418:9: warning: context imbalance in 'ivtv_dma_stream_dec_prepare' - different lock contexts for basic block

sparse didn't quite understand the locking scheme, so rewrite it to keep
sparse happy.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Andy Walls <awalls@md.metrocast.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/ivtv/ivtv-irq.c