summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx233/audio-imx233.h
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-01-25 12:06:06 +0100
committerAmaury Pouly <amaury.pouly@gmail.com>2017-02-04 17:16:32 +0100
commit501e8a7e7103ae7aad2cab8888be02a06889e2c2 (patch)
tree73506117ace58c95886a7633e3265f9f2345ab0b /firmware/target/arm/imx233/audio-imx233.h
parent96a7603bf9e930a715f7bbb50929975d8d184419 (diff)
downloadrockbox-501e8a7e7103ae7aad2cab8888be02a06889e2c2.tar.gz
rockbox-501e8a7e7103ae7aad2cab8888be02a06889e2c2.zip
imx233: remove weak attribute on some functions
This feature was never used and it is not even working because weak linking doesn't work in-between files in a library. Change-Id: I389ea5f17be1d9db0e2150828d704be5a091e09d
Diffstat (limited to 'firmware/target/arm/imx233/audio-imx233.h')
-rw-r--r--firmware/target/arm/imx233/audio-imx233.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/firmware/target/arm/imx233/audio-imx233.h b/firmware/target/arm/imx233/audio-imx233.h
index 2596e81bac..860a9c710f 100644
--- a/firmware/target/arm/imx233/audio-imx233.h
+++ b/firmware/target/arm/imx233/audio-imx233.h
@@ -24,9 +24,7 @@
24#include "audio.h" 24#include "audio.h"
25#include "audio-target.h" 25#include "audio-target.h"
26 26
27/* target can override those functions to provide hooks to the audio code 27/* target can control those functions by using the following defines
28 * alternativelly, the default implementation provide support for GPIO
29 * controlled gates using the following defines
30 * NOTE by default gates are enabled by setting GPIO to 1 (except if inverted) 28 * NOTE by default gates are enabled by setting GPIO to 1 (except if inverted)
31 * 29 *
32 * IMX233_AUDIO_HP_GATE_BANK (gpio bank) 30 * IMX233_AUDIO_HP_GATE_BANK (gpio bank)
@@ -37,7 +35,7 @@
37 * IMX233_AUDIO_SPKR_GATE_PIN (gpio pin) 35 * IMX233_AUDIO_SPKR_GATE_PIN (gpio pin)
38 * IMX233_AUDIO_SPKR_GATE_INVERTED (define if inverted) 36 * IMX233_AUDIO_SPKR_GATE_INVERTED (define if inverted)
39 * 37 *
40 * target can override those to control microphone parameters 38 * target can set those to control microphone parameters
41 * NOTE by default, mic select is 1, mic bias is 0 and mic resistor is 2KOhm 39 * NOTE by default, mic select is 1, mic bias is 0 and mic resistor is 2KOhm
42 * IMX233_AUDIO_MIC_SELECT (mic bias pin: 0=lradc0, 1=lradc1) 40 * IMX233_AUDIO_MIC_SELECT (mic bias pin: 0=lradc0, 1=lradc1)
43 * IMX233_AUDIO_MIC_BIAS (mic bias, 0=1.21V, 1=1.46, ..., 7=2.96V (0.25mV inc) 41 * IMX233_AUDIO_MIC_BIAS (mic bias, 0=1.21V, 1=1.46, ..., 7=2.96V (0.25mV inc)