media: atomisp: use pcim_enable_device() again
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 12 May 2020 12:07:19 +0000 (14:07 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 12:51:28 +0000 (14:51 +0200)
commita27b5811819705910220c70239dd5eec49fefa2d
tree058532ad4269cd9b4aba5a15d91a18a58c22172f
parent4877b19e13a3a550819349ea0d46b5f0b775ed3f
media: atomisp: use pcim_enable_device() again

Changing to pci_enable_device() didn't produce the expected
result. It could also eventually led to problems when driver
is removed, due to object lifetime issues. So, let's just
return to the previous behavior.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c