mirror of
				git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
				synced 2025-10-31 16:54:21 +00:00 
			
		
		
		
	mtd: davinci nand: update clock naming
DaVinci clock support has been updated in mainline. Update clock names accordingly. Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
		
							parent
							
								
									be94a4ba09
								
							
						
					
					
						commit
						cd24f8c1e7
					
				
					 1 changed files with 4 additions and 3 deletions
				
			
		|  | @ -407,16 +407,17 @@ static int __init nand_davinci_probe(struct platform_device *pdev) | ||||||
| 	} | 	} | ||||||
| 	info->chip.ecc.mode = ecc_mode; | 	info->chip.ecc.mode = ecc_mode; | ||||||
| 
 | 
 | ||||||
| 	info->clk = clk_get(&pdev->dev, "AEMIFCLK"); | 	info->clk = clk_get(&pdev->dev, "aemif"); | ||||||
| 	if (IS_ERR(info->clk)) { | 	if (IS_ERR(info->clk)) { | ||||||
| 		ret = PTR_ERR(info->clk); | 		ret = PTR_ERR(info->clk); | ||||||
| 		dev_dbg(&pdev->dev, "unable to get AEMIFCLK, err %d\n", ret); | 		dev_dbg(&pdev->dev, "unable to get AEMIF clock, err %d\n", ret); | ||||||
| 		goto err_clk; | 		goto err_clk; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	ret = clk_enable(info->clk); | 	ret = clk_enable(info->clk); | ||||||
| 	if (ret < 0) { | 	if (ret < 0) { | ||||||
| 		dev_dbg(&pdev->dev, "unable to enable AEMIFCLK, err %d\n", ret); | 		dev_dbg(&pdev->dev, "unable to enable AEMIF clock, err %d\n", | ||||||
|  | 			ret); | ||||||
| 		goto err_clk_enable; | 		goto err_clk_enable; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Kevin Hilman
						Kevin Hilman