summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio')
-rw-r--r--firmware/drivers/audio/as3514.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/firmware/drivers/audio/as3514.c b/firmware/drivers/audio/as3514.c
index f07ee80d3c..22609621df 100644
--- a/firmware/drivers/audio/as3514.c
+++ b/firmware/drivers/audio/as3514.c
@@ -252,8 +252,9 @@ void audiohw_postinit(void)
252 /* wait until outputs have stabilized */ 252 /* wait until outputs have stabilized */
253 sleep(HZ/4); 253 sleep(HZ/4);
254 254
255#ifdef CPU_PP 255#ifdef SANSA_E200 /* check C200 */
256 ascodec_suppressor_on(false); 256 /* Release pop prevention */
257 GPIO_CLEAR_BITWISE(GPIOG_OUTPUT_VAL, 0x08);
257#endif 258#endif
258 259
259#if defined(SANSA_E200V2) || defined(SANSA_FUZE) || defined(SANSA_C200) 260#if defined(SANSA_E200V2) || defined(SANSA_FUZE) || defined(SANSA_C200)
@@ -334,8 +335,9 @@ void audiohw_close(void)
334 /* mute headphones */ 335 /* mute headphones */
335 audiohw_mute(true); 336 audiohw_mute(true);
336 337
337#ifdef CPU_PP 338#ifdef SANSA_E200 /* check C200 */
338 ascodec_suppressor_on(true); 339 /* Set pop prevention */
340 GPIO_SET_BITWISE(GPIOG_OUTPUT_VAL, 0x08);
339#endif 341#endif
340 342
341 /* turn on common */ 343 /* turn on common */