summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/drivers/audio/wm8751.c4
-rw-r--r--firmware/target/arm/pcm-telechips.c9
2 files changed, 1 insertions, 12 deletions
diff --git a/firmware/drivers/audio/wm8751.c b/firmware/drivers/audio/wm8751.c
index d53cfa3d79..9d552b505f 100644
--- a/firmware/drivers/audio/wm8751.c
+++ b/firmware/drivers/audio/wm8751.c
@@ -109,10 +109,6 @@ void audiohw_preinit(void)
109 GPIOL_OUTPUT_VAL |= 0x10; /* disable */ 109 GPIOL_OUTPUT_VAL |= 0x10; /* disable */
110#endif 110#endif
111 111
112#ifdef CPU_PP502x
113 i2s_reset();
114#endif
115
116 /* 112 /*
117 * 1. Switch on power supplies. 113 * 1. Switch on power supplies.
118 * By default the WM8751 is in Standby Mode, the DAC is 114 * By default the WM8751 is in Standby Mode, the DAC is
diff --git a/firmware/target/arm/pcm-telechips.c b/firmware/target/arm/pcm-telechips.c
index dc77b36f00..affad01c76 100644
--- a/firmware/target/arm/pcm-telechips.c
+++ b/firmware/target/arm/pcm-telechips.c
@@ -62,9 +62,7 @@ static unsigned long pcm_freq SHAREDDATA_ATTR = HW_SAMPR_DEFAULT; /* 44.1 is def
62 62
63void pcm_postinit(void) 63void pcm_postinit(void)
64{ 64{
65#if defined(IAUDIO_7) 65 audiohw_postinit();
66 audiohw_postinit(); /* implemented not for all codecs */
67#endif
68 pcm_apply_settings(); 66 pcm_apply_settings();
69} 67}
70 68
@@ -115,11 +113,6 @@ void pcm_play_dma_init(void)
115#endif 113#endif
116} 114}
117 115
118void pcm_postinit(void)
119{
120 audiohw_postinit();
121}
122
123void pcm_apply_settings(void) 116void pcm_apply_settings(void)
124{ 117{
125 pcm_curr_sampr = pcm_freq; 118 pcm_curr_sampr = pcm_freq;