linux/drivers/media
Laurent Pinchart 49b184a0da media: ti-vpe: cal: Refactor camerarx start and stop
Refactor the camerarx start and stop procedure to group all the
corresponding operations in two functions, cal_camerarx_start() and
cal_camerarx_stop() instead of splitting them in multiple steps called
from the vb2 stream start and stop functions. This reduces the coupling
between the camerarx and the contexts, and better models the camerarx
hardware.

The cal_camerarx_start() is a reworked version of cal_camerarx_init()
with the description of the start procedure updated to match the AM65x,
DRA7[124567]x and DRA80xM TRMs. The cal_camerarx_wait_ready() function
is inlined in cal_camerarx_start() to better describe the start
procedure.

No functional change is included in the camerarx start and stop
procedures themselves, but the interleaving of the start steps with the
context configuration has been changed in cal_start_streaming().

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-07-19 10:38:23 +02:00
..
cec cec-api: prevent leaking memory through hole in structure 2020-07-19 07:43:14 +02:00
common media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
dvb-core media: videobuf2: add queue memory consistency parameter 2020-06-23 13:31:12 +02:00
dvb-frontends media: drx-k: remove unused MulDiv32 function 2020-07-04 12:22:33 +02:00
firewire media: firewire: Using uninitialized values in node_probe() 2020-07-04 11:57:10 +02:00
i2c media: tvp5150: Add missed media_entity_cleanup() 2020-07-04 12:43:36 +02:00
mc media: media-request: Fix crash if memory allocation fails 2020-06-23 15:19:37 +02:00
mmc media updates for v5.8-rc1 2020-06-03 20:59:38 -07:00
pci media: pci: dt3155: fix spelling mistake 2020-07-19 07:57:53 +02:00
platform media: ti-vpe: cal: Refactor camerarx start and stop 2020-07-19 10:38:23 +02:00
radio media: radio: don't use a menu just for wl128x driver 2020-04-16 10:34:57 +02:00
rc media: rc: return proper error code on error handling path in init 2020-07-04 12:23:46 +02:00
spi media: i2c/Kconfig: use sub-menus for I2C support 2020-04-16 10:34:40 +02:00
test-drivers media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
tuners media: si2157: ensure wait_status is initialized 2020-04-29 11:59:57 +02:00
usb gspca: First camera mode is skipped 2020-07-19 08:16:47 +02:00
v4l2-core media: Add V4L2_TYPE_IS_CAPTURE helper 2020-07-19 08:13:24 +02:00
Kconfig media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00
Makefile media: media/test_drivers: rename to test-drivers 2020-04-16 10:38:31 +02:00