diff options
Diffstat (limited to 'firmware/export/audiohw.h')
-rw-r--r-- | firmware/export/audiohw.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/firmware/export/audiohw.h b/firmware/export/audiohw.h index 73c50b8412..190fcca7a8 100644 --- a/firmware/export/audiohw.h +++ b/firmware/export/audiohw.h | |||
@@ -27,7 +27,9 @@ | |||
27 | #include "uda1380.h" | 27 | #include "uda1380.h" |
28 | #elif defined(HAVE_WM8751) | 28 | #elif defined(HAVE_WM8751) |
29 | #include "wm8751.h" | 29 | #include "wm8751.h" |
30 | #elif defined(HAVE_WM8975) || defined(HAVE_WM8978) | 30 | #elif defined(HAVE_WM8978) |
31 | #include "wm8978.h" | ||
32 | #elif defined(HAVE_WM8975) | ||
31 | #include "wm8975.h" | 33 | #include "wm8975.h" |
32 | #elif defined(HAVE_WM8985) | 34 | #elif defined(HAVE_WM8985) |
33 | #include "wm8985.h" | 35 | #include "wm8985.h" |
@@ -109,7 +111,14 @@ extern const struct sound_settings_info audiohw_settings[]; | |||
109 | void audiohw_init(void); | 111 | void audiohw_init(void); |
110 | 112 | ||
111 | /** | 113 | /** |
112 | * Do some stuff (codec related) after audiohw_init. | 114 | * Do initial audio codec setup. |
115 | */ | ||
116 | void audiohw_preinit(void); | ||
117 | |||
118 | /** | ||
119 | * Do some stuff (codec related) after audiohw_init that needs to be | ||
120 | * delayed such as enabling outputs to prevent popping. This lets | ||
121 | * other inits in the system complete in the meantime. | ||
113 | */ | 122 | */ |
114 | void audiohw_postinit(void); | 123 | void audiohw_postinit(void); |
115 | 124 | ||