ASoC: codec: wm8960: Stop when a matching PLL freq is found
When a matching PLL freq is found, searching continues even this is
not necessary. The problem was introduced with the following refactoring
commit 84fdc00d51 ("ASoC: codec: wm9860: Refactor PLL out freq search)
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
			
			
This commit is contained in:
		
							parent
							
								
									84fdc00d51
								
							
						
					
					
						commit
						303e8954af
					
				| @ -724,7 +724,11 @@ int wm8960_configure_pll(struct snd_soc_codec *codec, int freq_in, | ||||
| 					break; | ||||
| 				} | ||||
| 			} | ||||
| 			if (k != ARRAY_SIZE(bclk_divs)) | ||||
| 				break; | ||||
| 		} | ||||
| 		if (j != ARRAY_SIZE(dac_divs)) | ||||
| 			break; | ||||
| 	} | ||||
| 
 | ||||
| 	if (*bclk_idx != -1) | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user