diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-28 18:51:33 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-03-28 18:51:33 -0400 |
| commit | 1b6a4db220cf04114980694685b668bad4ca030d (patch) | |
| tree | 2036aa9275ec6bdc538a9472acccb9219d80f46f /include/linux | |
| parent | dfca53fb166bc2a0a1ec36efedad30946e0b0652 (diff) | |
| parent | 347e0899b1c75d907f01ac883ca38d37fe9bfa42 (diff) | |
Merge tag 'char-misc-3.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc
Pull char/misc driver fixes from Greg Kroah-Hartman:
"Here are some small char/misc driver fixes that resolve issues
recently reported against the 3.9-rc kernels. All have been in
linux-next for a while."
* tag 'char-misc-3.9-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
VMCI: Fix process-to-process DRGAMs.
mei: ME hardware reset needs to be synchronized
mei: add mei_stop function to stop mei device
extcon: max77693: Initialize register of MUIC device to bring up it without platform data
extcon: max77693: Fix bug of wrong pointer when platform data is not used
extcon: max8997: Check the pointer of platform data to protect null pointer error
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/max77693-private.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/mfd/max77693-private.h b/include/linux/mfd/max77693-private.h index 5b18ecde69b5..1aa4f13cdfa6 100644 --- a/include/linux/mfd/max77693-private.h +++ b/include/linux/mfd/max77693-private.h | |||
| @@ -106,6 +106,29 @@ enum max77693_muic_reg { | |||
| 106 | MAX77693_MUIC_REG_END, | 106 | MAX77693_MUIC_REG_END, |
| 107 | }; | 107 | }; |
| 108 | 108 | ||
| 109 | /* MAX77693 INTMASK1~2 Register */ | ||
| 110 | #define INTMASK1_ADC1K_SHIFT 3 | ||
| 111 | #define INTMASK1_ADCERR_SHIFT 2 | ||
| 112 | #define INTMASK1_ADCLOW_SHIFT 1 | ||
| 113 | #define INTMASK1_ADC_SHIFT 0 | ||
| 114 | #define INTMASK1_ADC1K_MASK (1 << INTMASK1_ADC1K_SHIFT) | ||
| 115 | #define INTMASK1_ADCERR_MASK (1 << INTMASK1_ADCERR_SHIFT) | ||
| 116 | #define INTMASK1_ADCLOW_MASK (1 << INTMASK1_ADCLOW_SHIFT) | ||
| 117 | #define INTMASK1_ADC_MASK (1 << INTMASK1_ADC_SHIFT) | ||
| 118 | |||
| 119 | #define INTMASK2_VIDRM_SHIFT 5 | ||
| 120 | #define INTMASK2_VBVOLT_SHIFT 4 | ||
| 121 | #define INTMASK2_DXOVP_SHIFT 3 | ||
| 122 | #define INTMASK2_DCDTMR_SHIFT 2 | ||
| 123 | #define INTMASK2_CHGDETRUN_SHIFT 1 | ||
| 124 | #define INTMASK2_CHGTYP_SHIFT 0 | ||
| 125 | #define INTMASK2_VIDRM_MASK (1 << INTMASK2_VIDRM_SHIFT) | ||
| 126 | #define INTMASK2_VBVOLT_MASK (1 << INTMASK2_VBVOLT_SHIFT) | ||
| 127 | #define INTMASK2_DXOVP_MASK (1 << INTMASK2_DXOVP_SHIFT) | ||
| 128 | #define INTMASK2_DCDTMR_MASK (1 << INTMASK2_DCDTMR_SHIFT) | ||
| 129 | #define INTMASK2_CHGDETRUN_MASK (1 << INTMASK2_CHGDETRUN_SHIFT) | ||
| 130 | #define INTMASK2_CHGTYP_MASK (1 << INTMASK2_CHGTYP_SHIFT) | ||
| 131 | |||
| 109 | /* MAX77693 MUIC - STATUS1~3 Register */ | 132 | /* MAX77693 MUIC - STATUS1~3 Register */ |
| 110 | #define STATUS1_ADC_SHIFT (0) | 133 | #define STATUS1_ADC_SHIFT (0) |
| 111 | #define STATUS1_ADCLOW_SHIFT (5) | 134 | #define STATUS1_ADCLOW_SHIFT (5) |
