Skip to content

Commit 1eaf8c2

Browse files
Yaojen_Changalex3788
authored andcommitted
Modify external DAC mclk frequency for RK I2S
Change-Id: I347ca20e87ea1fec9418f8f50711308b0d7e3eb9 Reviewed-on: https://tp-biosrd-v02/gerrit/86339 Reviewed-by: Alex Cheng(鄭富元) <Alex_Cheng@asus.com> Tested-by: Alex Cheng(鄭富元) <Alex_Cheng@asus.com>
1 parent b0051c0 commit 1eaf8c2

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

sound/soc/rockchip/hifiberry_amp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <sound/jack.h>
2525

2626
#ifdef ROCKCHIP_AUDIO
27-
#define ROCKCHIP_I2S_MCLK 512
27+
#define ROCKCHIP_I2S_MCLK 128
2828
#endif
2929

3030
static int snd_rpi_hifiberry_amp_init(struct snd_soc_pcm_runtime *rtd)

sound/soc/rockchip/hifiberry_dac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <sound/jack.h>
2525

2626
#ifdef ROCKCHIP_AUDIO
27-
#define ROCKCHIP_I2S_MCLK 512
27+
#define ROCKCHIP_I2S_MCLK 128
2828
#endif
2929

3030
static int snd_rpi_hifiberry_dac_init(struct snd_soc_pcm_runtime *rtd)

sound/soc/rockchip/hifiberry_dacplus.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define HIFIBERRY_DACPRO_CLK48EN 2
3939

4040
#ifdef ROCKCHIP_AUDIO
41-
#define ROCKCHIP_I2S_MCLK 512
41+
#define ROCKCHIP_I2S_MCLK 128
4242
#endif
4343

4444
struct pcm512x_priv {

sound/soc/rockchip/iqaudio-dac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <sound/jack.h>
2626

2727
#ifdef ROCKCHIP_AUDIO
28-
#define ROCKCHIP_I2S_MCLK 512
28+
#define ROCKCHIP_I2S_MCLK 128
2929
#endif
3030

3131
static bool digital_gain_0db_limit = true;

sound/soc/rockchip/justboom-dac.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include "../codecs/pcm512x.h"
2929

3030
#ifdef ROCKCHIP_AUDIO
31-
#define ROCKCHIP_I2S_MCLK 512
31+
#define ROCKCHIP_I2S_MCLK 128
3232
#endif
3333

3434
static bool digital_gain_0db_limit = true;

0 commit comments

Comments
 (0)