]> 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)
commit940c4aecb5b032d837d95ab12b28ac4ed8fe056c
tree6f81a13d0a36c5a9c8f9fa3eb2fe56aad742e9f9
parent1b2bb96e3bc383c9503123ee1a5b025a779b66e9
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