Sound: SoC: codecs: Put AK4458 codec in manual mode

We cannot both derive SAI BCLK for 384KHz-S32/768KHz-S16 and
respect the codec MCLK restrictions shown in AK4458 datasheet
Table 5, 6 and 7.
Since we can have same master clock for SAI and Codec in Manual
Mode, we've chosen to use it instead of Auto Mode.

Signed-off-by: Cosmin-Gabriel Samoila <cosmin.samoila@nxp.com>
Reviewed-by: Shengjiu Wang <shengjiu.wang@nxp.com>
This commit is contained in:
Cosmin-Gabriel Samoila 2018-03-07 11:45:22 +02:00 committed by Jason Liu
parent c8e5e2b1b5
commit 4949a830c4

View file

@ -20,7 +20,7 @@
#include <linux/regmap.h>
/* Settings */
//#define AK4458_ACKS_USE_MANUAL_MODE
#define AK4458_ACKS_USE_MANUAL_MODE
#define AK4458_00_CONTROL1 0x00
#define AK4458_01_CONTROL2 0x01