]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00162913-1 ASRC:fix asrc_audio_clock divider set bug
authorChen Liangjun <b36089@freescale.com>
Sat, 31 Dec 2011 03:03:33 +0000 (11:03 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:45 +0000 (08:33 +0200)
commit89df1a08b0af069cb6e72ed5159b932b92288149
treed35bf933eee4efc283a0e3855b7a5d38048651e4
parentaae9e706da8f21d06989743ee44fe87ee1e6a5e1
ENGR00162913-1 ASRC:fix asrc_audio_clock divider set bug

The asrc_audio_clock in MX5 is different from MX6.Thus the divider
value set can not be used in the MX6. Part of noise of ASRC output
is caused by this.

Add the function to calculate the divider and prescaler value
according to the sample rate and asrc_audio_clock.

Signed-off-by: Chen Liangjun <b36089@freescale.com>
drivers/mxc/asrc/mxc_asrc.c