diff options
author | Felipe Contreras <felipe.contreras@gmail.com> | 2012-01-31 20:06:20 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-02-06 11:44:50 -0500 |
commit | 24cace30c527c1dcbaddb738d9ee39a8ef491818 (patch) | |
tree | a6f3019af963baa49dd943ecb6499066a4bccb19 /sound/soc/codecs/tlv320aic3x.h | |
parent | 612a3fec2188c5a85c5057adf60c470a254e800b (diff) |
ASoC: tlv320aic3x: remove unused code
Looks like nobody is or will be using this code.
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/tlv320aic3x.h')
-rw-r--r-- | sound/soc/codecs/tlv320aic3x.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/codecs/tlv320aic3x.h b/sound/soc/codecs/tlv320aic3x.h index 06a19784b16..6f097fb6068 100644 --- a/sound/soc/codecs/tlv320aic3x.h +++ b/sound/soc/codecs/tlv320aic3x.h | |||
@@ -212,9 +212,6 @@ | |||
212 | /* Default input volume */ | 212 | /* Default input volume */ |
213 | #define DEFAULT_GAIN 0x20 | 213 | #define DEFAULT_GAIN 0x20 |
214 | 214 | ||
215 | void aic3x_set_gpio(struct snd_soc_codec *codec, int gpio, int state); | ||
216 | int aic3x_get_gpio(struct snd_soc_codec *codec, int gpio); | ||
217 | |||
218 | /* headset detection / button API */ | 215 | /* headset detection / button API */ |
219 | 216 | ||
220 | /* The AIC3x supports detection of stereo headsets (GND + left + right signal) | 217 | /* The AIC3x supports detection of stereo headsets (GND + left + right signal) |
@@ -252,10 +249,4 @@ enum { | |||
252 | #define AIC3X_BUTTON_DEBOUNCE_SHIFT 0 | 249 | #define AIC3X_BUTTON_DEBOUNCE_SHIFT 0 |
253 | #define AIC3X_BUTTON_DEBOUNCE_MASK 3 | 250 | #define AIC3X_BUTTON_DEBOUNCE_MASK 3 |
254 | 251 | ||
255 | /* see the enums above for valid parameters to this function */ | ||
256 | void aic3x_set_headset_detection(struct snd_soc_codec *codec, int detect, | ||
257 | int headset_debounce, int button_debounce); | ||
258 | int aic3x_headset_detected(struct snd_soc_codec *codec); | ||
259 | int aic3x_button_pressed(struct snd_soc_codec *codec); | ||
260 | |||
261 | #endif /* _AIC3X_H */ | 252 | #endif /* _AIC3X_H */ |