diff options
author | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-10 08:40:58 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2021-06-17 09:26:42 +0200 |
commit | 235406dca37ecf6f00e0378e965a3dd37590c389 (patch) | |
tree | 51e3bae481790b14d8dfbad270328f0f4ff6a262 /drivers/media/pci/cx18/cx18-driver.c | |
parent | 7f9197f11888c45d1aab470b7fd2c1f1fc1a2a35 (diff) |
media: saa7134: fix saa7134_initdev error handling logic
Smatch reported an issue there:
drivers/media/pci/saa7134/saa7134-core.c:1302 saa7134_initdev() warn: '&dev->devlist' not removed from list
But besides freeing the list, the media controller graph also
needs to be cleaned up on errors. Address those issues.
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'drivers/media/pci/cx18/cx18-driver.c')
0 files changed, 0 insertions, 0 deletions