]> git.baikalelectronics.ru Git - kernel.git/commit
media: vimc: Remove or modify stream checks
authorAndré Almeida <andrealmeid@collabora.com>
Thu, 30 May 2019 13:19:56 +0000 (09:19 -0400)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Wed, 5 Jun 2019 16:47:08 +0000 (12:47 -0400)
commitb7e02c64bd9f4ad9276e8a1dbce55e137c4149c8
treeab4def1e4d61ac9de2b8c0b8571f69298de9a799
parent1f55f786db0f08b8995a67dfb1aafcd93d979f5c
media: vimc: Remove or modify stream checks

Change the way subdevices check if the stream is running. Verify the stream
pointer instead of src_frame. This makes easier to get rid of the void* and
u8* that points to frames in the subdevices structs.

Remove checks that s_stream does on subdevices. They are redundant since
the Media Controller Framework doesn't allow two streaming on the same
media pipeline at the same time.

Signed-off-by: André Almeida <andrealmeid@collabora.com>
Acked-by: Helen Koike <helen.koike@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/vimc/vimc-debayer.c
drivers/media/platform/vimc/vimc-scaler.c
drivers/media/platform/vimc/vimc-sensor.c