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)
commit0f441fd70b1e7d1a4e035410f9effbfdf5c273fa
tree995f7f1b7fb422cb27b47c0f8f789a538b201eca
parenta27b5811819705910220c70239dd5eec49fefa2d
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