Commit 09b41950 authored by Su Hui's avatar Su Hui Committed by Hans Verkuil

media: ddbridge: fix an error code problem in ddb_probe

Error code is assigned to 'stat', return 'stat' rather than '-1'.
Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Signed-off-by: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
parent 5b2f885e
......@@ -238,7 +238,7 @@ static int ddb_probe(struct pci_dev *pdev,
ddb_unmap(dev);
pci_set_drvdata(pdev, NULL);
pci_disable_device(pdev);
return -1;
return stat;
}
/****************************************************************************/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment