[alsa-devel] [PATCH] ASoC: rl6231: Simplify DMIC divider calculation expression

Oder Chiou oder_chiou at realtek.com
Thu Aug 6 04:03:43 CEST 2015


> -----Original Message-----
> From: Anatol Pomozov [mailto:anatol.pomozov at gmail.com]
> Sent: Thursday, August 06, 2015 5:59 AM
> To: alsa-devel at alsa-project.org
> Cc: broonie at kernel.org; Oder Chiou; Albert Chen; Anatol Pomozov
> Subject: [PATCH] ASoC: rl6231: Simplify DMIC divider calculation expression
> 
> Existing implementation checks all divider values and tracks 'red' proximity value
> for the frequency.
> 
> But as divider array is monotonically increasing the first divider that gives DMIC
> rate in 3MHz range is the best one we should use. No need for 'red' zone tracking.
> 
> Additionally make sure that DMIC frequency is higher 1MHz.
> 
> Signed-off-by: Anatol Pomozov <anatol.pomozov at gmail.com>

Acked-by: Oder Chiou <oder_chiou at realtek.com>


More information about the Alsa-devel mailing list