summaryrefslogtreecommitdiff
path: root/firmware/drivers/audio/imx233-codec.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/audio/imx233-codec.c')
-rw-r--r--firmware/drivers/audio/imx233-codec.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/drivers/audio/imx233-codec.c b/firmware/drivers/audio/imx233-codec.c
index 94a1218d5e..b2dcaa3d23 100644
--- a/firmware/drivers/audio/imx233-codec.c
+++ b/firmware/drivers/audio/imx233-codec.c
@@ -101,3 +101,11 @@ void audiohw_set_monitor(bool enable)
101{ 101{
102 imx233_audioout_select_hp_input(enable); 102 imx233_audioout_select_hp_input(enable);
103} 103}
104
105#ifdef HAVE_SPEAKER
106void audiohw_enable_speaker(bool en)
107{
108 imx233_audioout_enable_spkr(en);
109 imx233_audio_enable_spkr(en);
110}
111#endif