mirror of
				https://github.com/Ysurac/openmptcprouter.git
				synced 2025-03-09 15:40:20 +00:00 
			
		
		
		
	Fix RPI5 support
This commit is contained in:
		
							parent
							
								
									57beb2ec60
								
							
						
					
					
						commit
						3743692973
					
				
					 1017 changed files with 232368 additions and 4124 deletions
				
			
		| 
						 | 
				
			
			@ -0,0 +1,27 @@
 | 
			
		|||
From ecb62b18a1497c53c32ea12be131a3451ca088bc Mon Sep 17 00:00:00 2001
 | 
			
		||||
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 | 
			
		||||
Date: Sun, 16 Oct 2022 09:15:09 +0300
 | 
			
		||||
Subject: [PATCH] media: i2c: imx290: Drop regmap cache
 | 
			
		||||
 | 
			
		||||
Upstream commit 72e4bf6dd136.
 | 
			
		||||
 | 
			
		||||
Only two registers are ever read, and once only. There's no need to
 | 
			
		||||
cache values.
 | 
			
		||||
 | 
			
		||||
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 | 
			
		||||
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
 | 
			
		||||
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
 | 
			
		||||
---
 | 
			
		||||
 drivers/media/i2c/imx290.c | 1 -
 | 
			
		||||
 1 file changed, 1 deletion(-)
 | 
			
		||||
 | 
			
		||||
--- a/drivers/media/i2c/imx290.c
 | 
			
		||||
+++ b/drivers/media/i2c/imx290.c
 | 
			
		||||
@@ -97,7 +97,6 @@ static const struct imx290_pixfmt imx290
 | 
			
		||||
 static const struct regmap_config imx290_regmap_config = {
 | 
			
		||||
 	.reg_bits = 16,
 | 
			
		||||
 	.val_bits = 8,
 | 
			
		||||
-	.cache_type = REGCACHE_RBTREE,
 | 
			
		||||
 };
 | 
			
		||||
 
 | 
			
		||||
 static const char * const imx290_test_pattern_menu[] = {
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue