forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/media/i2c/ov7670.c
....@@ -1824,7 +1824,7 @@
18241824
18251825 if (bus_cfg.bus_type != V4L2_MBUS_PARALLEL) {
18261826 dev_err(dev, "Unsupported media bus type\n");
1827
- return ret;
1827
+ return -EINVAL;
18281828 }
18291829 info->mbus_config = bus_cfg.bus.parallel.flags;
18301830