.. | .. |
---|
45 | 45 | #include <linux/pinctrl/consumer.h> |
---|
46 | 46 | #include <linux/regmap.h> |
---|
47 | 47 | #include <media/videobuf2-dma-contig.h> |
---|
48 | | -#include <dt-bindings/soc/rockchip-system-status.h> |
---|
49 | 48 | #include <soc/rockchip/rockchip-system-status.h> |
---|
50 | 49 | #include "regs.h" |
---|
51 | 50 | #include "rkisp1.h" |
---|
.. | .. |
---|
543 | 542 | struct device *dev = isp_dev->dev; |
---|
544 | 543 | int ret; |
---|
545 | 544 | |
---|
| 545 | + v4l2_async_notifier_init(ntf); |
---|
| 546 | + |
---|
546 | 547 | ret = v4l2_async_notifier_parse_fwnode_endpoints( |
---|
547 | 548 | dev, ntf, sizeof(struct rkisp1_async_subdev), |
---|
548 | 549 | rkisp1_fwnode_parse); |
---|
549 | 550 | if (ret < 0) |
---|
550 | 551 | return ret; |
---|
551 | | - |
---|
552 | | - if (!ntf->num_subdevs) |
---|
553 | | - return -ENODEV; /* no endpoint */ |
---|
554 | 552 | |
---|
555 | 553 | ntf->ops = &subdev_notifier_ops; |
---|
556 | 554 | |
---|
.. | .. |
---|
747 | 745 | |
---|
748 | 746 | /* isp clock adjustment table (MHz) */ |
---|
749 | 747 | static const unsigned int rk3326_isp_clk_rate[] = { |
---|
750 | | - 150, 300, 347, 400, 520, 600 |
---|
| 748 | + 300, 347, 400, 520, 600 |
---|
751 | 749 | }; |
---|
752 | 750 | |
---|
753 | 751 | /* isp clock adjustment table (MHz) */ |
---|