]> git.baikalelectronics.ru Git - kernel.git/commit
media: atomisp: free PCI resources when probing fail
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Fri, 8 May 2020 09:27:39 +0000 (11:27 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Wed, 20 May 2020 12:51:28 +0000 (14:51 +0200)
commita4a31a2fc271f8ea8b2a0b1bff96f10536a037aa
tree6f81a13d0a36c5a9c8f9fa3eb2fe56aad742e9f9
parent1f9c7304f6460272a6249b1c0ff1c5e9b371ddf2
media: atomisp: free PCI resources when probing fail

The atomisp probe error logic is incomplete. Add the missing
bits to return the PCI device to its original state.

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