]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa48f530e9038aab9a9979e5b2d2a4eefc52bd77
tree058532ad4269cd9b4aba5a15d91a18a58c22172f
parent202e31fb01cd50b5984d3743473c49d7da14d1f9
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