sound: fixed pdm record data slow error
authorPeipeng Zhao <peipeng.zhao@amlogic.com>
Fri, 2 Feb 2018 06:26:32 +0000 (14:26 +0800)
committerPeipeng Zhao <peipeng.zhao@amlogic.com>
Fri, 2 Feb 2018 06:30:55 +0000 (14:30 +0800)
PD#160225: sound: fixed pdm record data slow error

Change-Id: I8a6a0ae3207c27c6928342057df44b6454de55c2
Signed-off-by: Peipeng Zhao <peipeng.zhao@amlogic.com>
sound/soc/amlogic/auge/pdm_hw.c

index a5fa0ce..9d8594f 100644 (file)
@@ -31,10 +31,6 @@ void pdm_enable(int is_enable)
        if (is_enable) {
                aml_pdm_update_bits(
                        PDM_CTRL,
-                       0xffff,
-                       0xffff);
-               aml_pdm_update_bits(
-                       PDM_CTRL,
                        0x1 << 31,
                        is_enable << 31);
        } else {