diff options
author | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-18 21:27:29 +0200 |
---|---|---|
committer | Amaury Pouly <amaury.pouly@gmail.com> | 2013-06-18 21:27:29 +0200 |
commit | 7f552f80b862d70590891bfc7c4da52ef22c0c9f (patch) | |
tree | e926359aa5123ac9696be105a60f3490f3055445 | |
parent | 2f6c060656b49753ed8ff5998ab712ec6c4f387b (diff) | |
download | rockbox-7f552f80b862d70590891bfc7c4da52ef22c0c9f.tar.gz rockbox-7f552f80b862d70590891bfc7c4da52ef22c0c9f.zip |
imx233: allow audio routing driver to have pre/post init functions
Change-Id: Ic1fe8c5bc6c8bf5d449ae44c12cb6cb8df409260
-rw-r--r-- | firmware/drivers/audio/imx233-codec.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/drivers/audio/imx233-codec.c b/firmware/drivers/audio/imx233-codec.c index 512bab6280..ae812f865f 100644 --- a/firmware/drivers/audio/imx233-codec.c +++ b/firmware/drivers/audio/imx233-codec.c | |||
@@ -24,17 +24,20 @@ | |||
24 | #include "audio.h" | 24 | #include "audio.h" |
25 | #include "audioout-imx233.h" | 25 | #include "audioout-imx233.h" |
26 | #include "audioin-imx233.h" | 26 | #include "audioin-imx233.h" |
27 | #include "audio-imx233.h" | ||
27 | 28 | ||
28 | void audiohw_preinit(void) | 29 | void audiohw_preinit(void) |
29 | { | 30 | { |
30 | imx233_audioout_preinit(); | 31 | imx233_audioout_preinit(); |
31 | imx233_audioin_preinit(); | 32 | imx233_audioin_preinit(); |
33 | imx233_audio_preinit(); | ||
32 | } | 34 | } |
33 | 35 | ||
34 | void audiohw_postinit(void) | 36 | void audiohw_postinit(void) |
35 | { | 37 | { |
36 | imx233_audioout_postinit(); | 38 | imx233_audioout_postinit(); |
37 | imx233_audioin_postinit(); | 39 | imx233_audioin_postinit(); |
40 | imx233_audio_postinit(); | ||
38 | } | 41 | } |
39 | 42 | ||
40 | void audiohw_close(void) | 43 | void audiohw_close(void) |