summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/rocker_codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/rocker_codec.c')
-rw-r--r--firmware/drivers/audio/rocker_codec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/audio/rocker_codec.c b/firmware/drivers/audio/rocker_codec.c
index 5404ff9561..525507494b 100644
--- a/firmware/drivers/audio/rocker_codec.c
+++ b/firmware/drivers/audio/rocker_codec.c
@@ -62,6 +62,7 @@ void audiohw_preinit(void)
62{ 62{
63 alsa_controls_init(); 63 alsa_controls_init();
64 hw_open(); 64 hw_open();
65 audiohw_mute(true); /* Start muted to avoid the POP */
65} 66}
66 67
67void audiohw_postinit(void) 68void audiohw_postinit(void)
@@ -69,7 +70,7 @@ void audiohw_postinit(void)
69 long int hp = 2; 70 long int hp = 2;
70 71
71 /* Output port switch set to Headphones */ 72 /* Output port switch set to Headphones */
72 alsa_controls_set_ints("Output Port Switch", 1, &hp); 73 alsa_controls_set_ints("Output Port Switch", 1, &hp); /* Unmutes */
73} 74}
74 75
75void audiohw_close(void) 76void audiohw_close(void)