From 0a5d60b2c9e3f36e95dd9ca609d790f1b69e151b Mon Sep 17 00:00:00 2001 From: Eileen Yoon Date: Sat, 2 Sep 2023 23:06:18 +0900 Subject: [PATCH] isp: t6000 stream select mask Signed-off-by: Eileen Yoon --- src/isp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/isp.c b/src/isp.c index 2e6dac81..0eb710c2 100644 --- a/src/isp.c +++ b/src/isp.c @@ -47,7 +47,8 @@ static void isp_ctrr_init_t6000(u64 base, const struct dart_tunables *config, u3 { write32(base + DART_T8020_ENABLED_STREAMS, 0x1); write32(base + 0x2f0, 0x0); - write32(base + DART_T8020_STREAM_SELECT, 0xffff); // diff from t8020 + mask32(base + DART_T8020_STREAM_SELECT, read32(base + DART_T8020_STREAM_SELECT), 0xffff); + // write32(base + DART_T8020_STREAM_SELECT, 0xffff); // diff from t8020 write32(base + DART_T8020_STREAM_COMMAND, 0x0); int count = length / sizeof(*config);