From 1543e317f1da31b75942316931e8f491a8920811 Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 04 Jan 2024 10:08:02 +0000
Subject: [PATCH] disable FB
---
kernel/drivers/media/platform/rockchip/isp1/dev.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/kernel/drivers/media/platform/rockchip/isp1/dev.c b/kernel/drivers/media/platform/rockchip/isp1/dev.c
index a14540d..653ce1b 100644
--- a/kernel/drivers/media/platform/rockchip/isp1/dev.c
+++ b/kernel/drivers/media/platform/rockchip/isp1/dev.c
@@ -45,7 +45,6 @@
#include <linux/pinctrl/consumer.h>
#include <linux/regmap.h>
#include <media/videobuf2-dma-contig.h>
-#include <dt-bindings/soc/rockchip-system-status.h>
#include <soc/rockchip/rockchip-system-status.h>
#include "regs.h"
#include "rkisp1.h"
@@ -543,14 +542,13 @@
struct device *dev = isp_dev->dev;
int ret;
+ v4l2_async_notifier_init(ntf);
+
ret = v4l2_async_notifier_parse_fwnode_endpoints(
dev, ntf, sizeof(struct rkisp1_async_subdev),
rkisp1_fwnode_parse);
if (ret < 0)
return ret;
-
- if (!ntf->num_subdevs)
- return -ENODEV; /* no endpoint */
ntf->ops = &subdev_notifier_ops;
@@ -747,7 +745,7 @@
/* isp clock adjustment table (MHz) */
static const unsigned int rk3326_isp_clk_rate[] = {
- 150, 300, 347, 400, 520, 600
+ 300, 347, 400, 520, 600
};
/* isp clock adjustment table (MHz) */
--
Gitblit v1.6.2