media: atomisp: Remove clearing of ISP crop / compose rectangles on file release
authorHans de Goede <hdegoede@redhat.com>
Sun, 14 Apr 2024 14:40:09 +0000 (15:40 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 26 Apr 2024 10:03:32 +0000 (11:03 +0100)
commitcca331a64cffcce1b96ee353bafefa8ff0335240
tree6d0d9abc647969df90cd33192ac1dec9768078db
parent0445126fcaad0e13e6bc7a788c9ddb4e75739f59
media: atomisp: Remove clearing of ISP crop / compose rectangles on file release

There is no need to clear the ISP sink-pad crop and source-pad
compose rectangles  on release of the /dev/video# file.

Both will be reset by atomisp_set_fmt() which is guaranteed to
get called by atomisp_queue_setup() (if not called already)
before another stream starts and thus before these selections
are used again.

Also the file injection support the comment talks about has long
been dropped from the driver.

Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_fops.c