forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/drivers/media/platform/rockchip/isp1/dev.c
....@@ -543,14 +543,13 @@
543543 struct device *dev = isp_dev->dev;
544544 int ret;
545545
546
+ v4l2_async_notifier_init(ntf);
547
+
546548 ret = v4l2_async_notifier_parse_fwnode_endpoints(
547549 dev, ntf, sizeof(struct rkisp1_async_subdev),
548550 rkisp1_fwnode_parse);
549551 if (ret < 0)
550552 return ret;
551
-
552
- if (!ntf->num_subdevs)
553
- return -ENODEV; /* no endpoint */
554553
555554 ntf->ops = &subdev_notifier_ops;
556555
....@@ -747,7 +746,7 @@
747746
748747 /* isp clock adjustment table (MHz) */
749748 static const unsigned int rk3326_isp_clk_rate[] = {
750
- 150, 300, 347, 400, 520, 600
749
+ 300, 347, 400, 520, 600
751750 };
752751
753752 /* isp clock adjustment table (MHz) */