forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/media/pci/solo6x10/solo6x10-core.c
....@@ -420,6 +420,7 @@
420420 solo_dev->nr_chans);
421421
422422 if (device_register(dev)) {
423
+ put_device(dev);
423424 dev->parent = NULL;
424425 return -ENOMEM;
425426 }