aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mfd
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-03 14:28:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-04-03 14:28:18 -0400
commit2638953fcd6eeea27b4975c1cdd5e62e32758f8f (patch)
tree0ea42b074ce2432bb1a38e4cc977d197e9439341 /drivers/mfd
parent33facb4d69cd60895073ed0a018a524a8e2a01ba (diff)
parent7abd4e2a8f1c3e534da44c35e2d3d6353573e51f (diff)
Merge tag 'extcon-arizona-v3.10' of git://git.kernel.org/pub/scm/linux/kernel/git/broonie/misc into char-misc-next
Mark writes: extcon: arizona: Updates for v3.10 There's a bunch of different things in this series, I can split them out if need be: - Support for configuring the button detection circuit to reflect the accessories supplied with the system. - Improvements in the HPDET based detection scheme. - Additional robustness against more pathological use cases. - A few small standalone fixes.
Diffstat (limited to 'drivers/mfd')
-rw-r--r--drivers/mfd/wm5102-tables.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/mfd/wm5102-tables.c b/drivers/mfd/wm5102-tables.c
index a433f580aa4c..ca2aed6bc830 100644
--- a/drivers/mfd/wm5102-tables.c
+++ b/drivers/mfd/wm5102-tables.c
@@ -331,6 +331,10 @@ static const struct reg_default wm5102_reg_default[] = {
331 { 0x000002A3, 0x1102 }, /* R675 - Mic Detect 1 */ 331 { 0x000002A3, 0x1102 }, /* R675 - Mic Detect 1 */
332 { 0x000002A4, 0x009F }, /* R676 - Mic Detect 2 */ 332 { 0x000002A4, 0x009F }, /* R676 - Mic Detect 2 */
333 { 0x000002A5, 0x0000 }, /* R677 - Mic Detect 3 */ 333 { 0x000002A5, 0x0000 }, /* R677 - Mic Detect 3 */
334 { 0x000002A6, 0x3737 }, /* R678 - Mic Detect Level 1 */
335 { 0x000002A7, 0x372C }, /* R679 - Mic Detect Level 2 */
336 { 0x000002A8, 0x1422 }, /* R680 - Mic Detect Level 3 */
337 { 0x000002A9, 0x030A }, /* R681 - Mic Detect Level 4 */
334 { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */ 338 { 0x000002C3, 0x0000 }, /* R707 - Mic noise mix control 1 */
335 { 0x000002CB, 0x0000 }, /* R715 - Isolation control */ 339 { 0x000002CB, 0x0000 }, /* R715 - Isolation control */
336 { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */ 340 { 0x000002D3, 0x0000 }, /* R723 - Jack detect analogue */
@@ -1090,6 +1094,10 @@ static bool wm5102_readable_register(struct device *dev, unsigned int reg)
1090 case ARIZONA_MIC_DETECT_1: 1094 case ARIZONA_MIC_DETECT_1:
1091 case ARIZONA_MIC_DETECT_2: 1095 case ARIZONA_MIC_DETECT_2:
1092 case ARIZONA_MIC_DETECT_3: 1096 case ARIZONA_MIC_DETECT_3:
1097 case ARIZONA_MIC_DETECT_LEVEL_1:
1098 case ARIZONA_MIC_DETECT_LEVEL_2:
1099 case ARIZONA_MIC_DETECT_LEVEL_3:
1100 case ARIZONA_MIC_DETECT_LEVEL_4:
1093 case ARIZONA_MIC_NOISE_MIX_CONTROL_1: 1101 case ARIZONA_MIC_NOISE_MIX_CONTROL_1:
1094 case ARIZONA_ISOLATION_CONTROL: 1102 case ARIZONA_ISOLATION_CONTROL:
1095 case ARIZONA_JACK_DETECT_ANALOGUE: 1103 case ARIZONA_JACK_DETECT_ANALOGUE: