]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: atomisp: add a notice about possible leak resources
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 May 2020 12:23:28 +0000 (14:23 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 13:02:34 +0000 (15:02 +0200)
commitc03496b3bd9281524d11462dc24a7b660ec176c6
tree4b9858a396f7a52c086bd6b12b4c66ab02e949f2
parent814634b8e81ff54bfed69bba14656fc703221bd0
media: atomisp: add a notice about possible leak resources

Calling acpi_bus_get_device() may end allocating resources that
aren't freed. So, add a notice about that, as, if those drivers
get out of staging, we may need some changes.

Fixes: 0d64e9420583 ("media: atomisp: Add some ACPI detection info")
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c
drivers/staging/media/atomisp/i2c/atomisp-gc2235.c
drivers/staging/media/atomisp/i2c/atomisp-lm3554.c
drivers/staging/media/atomisp/i2c/atomisp-mt9m114.c
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c
drivers/staging/media/atomisp/i2c/atomisp-ov2722.c
drivers/staging/media/atomisp/i2c/ov5693/atomisp-ov5693.c