 e58cd453d5
			
		
	
	e58cd453d5
	
	
	
		
			
			Add kernel support for SAMA7G5 by back-porting mainline kernel patches. Among SAMA7G5 features could be remembered: - ARM Cortex-A7 - double data rate multi-port dynamic RAM controller supporting DDR2, DDR3, DDR3L, LPDDR2, LPDDR3 up to 533MHz - peripherals for audio, video processing - 1 gigabit + 1 megabit Ethernet controllers - 6 CAN controllers - trust zone support - DVFS for CPU - criptography IPs Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
		
			
				
	
	
		
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			42 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			Diff
		
	
	
	
	
	
| From e53725fe0c7e6b52927280272f49fe5f4b4ef317 Mon Sep 17 00:00:00 2001
 | |
| From: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
 | |
| Date: Fri, 26 Mar 2021 16:59:13 -0500
 | |
| Subject: [PATCH 187/247] ASoC: atmel: atmel-i2s: remove useless initialization
 | |
| 
 | |
| Cppcheck complains:
 | |
| 
 | |
| sound/soc/atmel/atmel-i2s.c:628:6: style: Redundant initialization for 'err'. The initialized value is overwritten before it is read. [redundantInitialization]
 | |
|  err = devm_request_irq(&pdev->dev, irq, atmel_i2s_interrupt, 0,
 | |
|      ^
 | |
| sound/soc/atmel/atmel-i2s.c:598:10: note: err is initialized
 | |
|  int err = -ENXIO;
 | |
|          ^
 | |
| sound/soc/atmel/atmel-i2s.c:628:6: note: err is overwritten
 | |
|  err = devm_request_irq(&pdev->dev, irq, atmel_i2s_interrupt, 0,
 | |
|      ^
 | |
| 
 | |
| Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
 | |
| Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
 | |
| Link: https://lore.kernel.org/r/20210326215927.936377-4-pierre-louis.bossart@linux.intel.com
 | |
| Signed-off-by: Mark Brown <broonie@kernel.org>
 | |
| ---
 | |
|  sound/soc/atmel/atmel-i2s.c | 2 +-
 | |
|  1 file changed, 1 insertion(+), 1 deletion(-)
 | |
| 
 | |
| diff --git a/sound/soc/atmel/atmel-i2s.c b/sound/soc/atmel/atmel-i2s.c
 | |
| index 7483c474ccd7..e7169c63becd 100644
 | |
| --- a/sound/soc/atmel/atmel-i2s.c
 | |
| +++ b/sound/soc/atmel/atmel-i2s.c
 | |
| @@ -613,7 +613,7 @@ static int atmel_i2s_probe(struct platform_device *pdev)
 | |
|  	struct regmap *regmap;
 | |
|  	void __iomem *base;
 | |
|  	int irq;
 | |
| -	int err = -ENXIO;
 | |
| +	int err;
 | |
|  	unsigned int pcm_flags = 0;
 | |
|  	unsigned int version;
 | |
|  
 | |
| -- 
 | |
| 2.32.0
 | |
| 
 |