| .. | .. |
|---|
| 543 | 543 | struct device *dev = isp_dev->dev; |
|---|
| 544 | 544 | int ret; |
|---|
| 545 | 545 | |
|---|
| 546 | + v4l2_async_notifier_init(ntf); |
|---|
| 547 | + |
|---|
| 546 | 548 | ret = v4l2_async_notifier_parse_fwnode_endpoints( |
|---|
| 547 | 549 | dev, ntf, sizeof(struct rkisp1_async_subdev), |
|---|
| 548 | 550 | rkisp1_fwnode_parse); |
|---|
| 549 | 551 | if (ret < 0) |
|---|
| 550 | 552 | return ret; |
|---|
| 551 | | - |
|---|
| 552 | | - if (!ntf->num_subdevs) |
|---|
| 553 | | - return -ENODEV; /* no endpoint */ |
|---|
| 554 | 553 | |
|---|
| 555 | 554 | ntf->ops = &subdev_notifier_ops; |
|---|
| 556 | 555 | |
|---|
| .. | .. |
|---|
| 747 | 746 | |
|---|
| 748 | 747 | /* isp clock adjustment table (MHz) */ |
|---|
| 749 | 748 | static const unsigned int rk3326_isp_clk_rate[] = { |
|---|
| 750 | | - 150, 300, 347, 400, 520, 600 |
|---|
| 749 | + 300, 347, 400, 520, 600 |
|---|
| 751 | 750 | }; |
|---|
| 752 | 751 | |
|---|
| 753 | 752 | /* isp clock adjustment table (MHz) */ |
|---|