From 501e8a7e7103ae7aad2cab8888be02a06889e2c2 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Wed, 25 Jan 2017 12:06:06 +0100 Subject: 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 --- firmware/target/arm/imx233/audio-imx233.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'firmware/target/arm/imx233/audio-imx233.h') 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 @@ #include "audio.h" #include "audio-target.h" -/* target can override those functions to provide hooks to the audio code - * alternativelly, the default implementation provide support for GPIO - * controlled gates using the following defines +/* target can control those functions by using the following defines * NOTE by default gates are enabled by setting GPIO to 1 (except if inverted) * * IMX233_AUDIO_HP_GATE_BANK (gpio bank) @@ -37,7 +35,7 @@ * IMX233_AUDIO_SPKR_GATE_PIN (gpio pin) * IMX233_AUDIO_SPKR_GATE_INVERTED (define if inverted) * - * target can override those to control microphone parameters + * target can set those to control microphone parameters * NOTE by default, mic select is 1, mic bias is 0 and mic resistor is 2KOhm * IMX233_AUDIO_MIC_SELECT (mic bias pin: 0=lradc0, 1=lradc1) * IMX233_AUDIO_MIC_BIAS (mic bias, 0=1.21V, 1=1.46, ..., 7=2.96V (0.25mV inc) -- cgit v1.2.3