]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: simplify the power down/up code
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 May 2020 13:13:50 +0000 (15:13 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 12:51:28 +0000 (14:51 +0200)
commit56f59045a351a47627c241ad4d97054fb35a7fdf
tree995f7f1b7fb422cb27b47c0f8f789a538b201eca
parentaa48f530e9038aab9a9979e5b2d2a4eefc52bd77
media: atomisp: simplify the power down/up code

Use the version from intel_atomisp2_pm.c for power up/down,
removing some code duplication and using just one kAPI call
for modifying the ISPSSPM0 register.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c