/* * nomadik.h * * Copyright (C) ST-Ericsson SA 2013 * Author: Gabriel Fernandez for ST-Ericsson. * License terms: GNU General Public License (GPL), version 2 */ #define INPUT_NOPULL 0 #define INPUT_PULLUP 1 #define INPUT_PULLDOWN 2 #define OUTPUT_LOW 0 #define OUTPUT_HIGH 1 #define DIR_OUTPUT 2 #define SLPM_DISABLED 0 #define SLPM_ENABLED 1 #define SLPM_INPUT_NOPULL 0 #define SLPM_INPUT_PULLUP 1 #define SLPM_INPUT_PULLDOWN 2 #define SLPM_DIR_INPUT 3 #define SLPM_OUTPUT_LOW 0 #define SLPM_OUTPUT_HIGH 1 #define SLPM_DIR_OUTPUT 2 #define SLPM_WAKEUP_DISABLE 0 #define SLPM_WAKEUP_ENABLE 1 #define GPIOMODE_DISABLED 0 #define GPIOMODE_ENABLED 1 #define SLPM_PDIS_DISABLED 0 #define SLPM_PDIS_ENABLED 1 '>index : net-next.git
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2016-11-05 15:28:55 +0800
committerMark Brown <broonie@kernel.org>2016-11-09 14:45:44 +0000
commitb4f89a0cce0d579fda6c1f6db72202c6bf2ae95f (patch)
treec6b9f23d028bdd833398982b219051c1fd2ee6b1
parentba9b8c42cff5aaf78229260c5622d6b699683e28 (diff)
ASoC: msm8916-wcd-analog: Update correct register setting for MIC BIAS Internal1
pm8916_wcd_analog_enable_micbias_int1() should set micbias1_cap_mode rather than micbias2_cap_mode. Also change the order of pm8916_wcd_analog_enable_micbias_int1/init2 functions for better readability. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>