OSDN Git Service

media: atomisp: Remove clearing of config from atomisp_css_uninit()
authorHans de Goede <hdegoede@redhat.com>
Mon, 14 Nov 2022 15:07:18 +0000 (15:07 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 25 Nov 2022 08:22:29 +0000 (08:22 +0000)
commita419e3f5917713246bcf83ceff7bbf61f5389e84
tree26cf7675745e65216cb15ec8c32f11e2af1d1469
parent10f2b0a3a12e360aff944750a18693a71c39d8f9
media: atomisp: Remove clearing of config from atomisp_css_uninit()

atomisp_css_uninit() only runs when all streams are stopped and
atomisp_css_stop() already clears the config, so the clearing
of the config can be dropped from atomisp_css_uninit().

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_compat_css20.c