[media] cx88: don't allow changes while vb2_is_busy
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 29 Aug 2014 09:08:07 +0000 (06:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 10:34:33 +0000 (08:34 -0200)
commit078859a3230c123ed9cb798fb1cd7f89b4fde102
treef22c40d2ecab1ec44986555b18642331ec369570
parentfb37ab3e788c698bf889e70335d5d1ccb6de2373
[media] cx88: don't allow changes while vb2_is_busy

Make sure that changing the standard or format is not allowed while
one or more of the video, vbi or mpeg vb2 queues are busy.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx88/cx88-blackbird.c
drivers/media/pci/cx88/cx88-core.c
drivers/media/pci/cx88/cx88-video.c
drivers/media/pci/cx88/cx88.h