Changeset 622 for GPL/branches
- Timestamp:
- Jan 2, 2021, 1:29:57 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/include/sound/hdaudio.h
r615 r622 295 295 /* h/w resources */ 296 296 unsigned long addr; 297 #ifdef TARGET_OS2298 volatile void __iomem *remap_addr;299 #else300 297 void __iomem *remap_addr; 301 #endif302 298 int irq; 303 299 … … 529 525 unsigned int fifo_size; /* FIFO size */ 530 526 531 #ifndef TARGET_OS2532 527 void __iomem *sd_addr; /* stream descriptor pointer */ 533 #else534 volatile void __iomem *sd_addr; /* stream descriptor pointer */535 #endif536 528 537 529 u32 sd_int_sta_mask; /* stream int status mask */ -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_realtek.c
r615 r622 6958 6958 }; 6959 6959 6960 static const struct hda_verb ALC275_FIXUP_SONY_VAIO_GPIO2_verbs[] = {6961 {0x01, AC_VERB_SET_GPIO_MASK, 0x04},6962 {0x01, AC_VERB_SET_GPIO_DIRECTION, 0x04},6963 {0x01, AC_VERB_SET_GPIO_DATA, 0x00},6964 {0}6965 };6966 6967 6960 static const struct hda_verb ALC269_FIXUP_DELL_M101Z_verbs[] = { 6968 6961 /* Enables internal speaker */ … … 7053 7046 static const struct hda_pintbl ALC269_FIXUP_DELL3_MIC_NO_PRESENCE_PINS[] = { 7054 7047 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */ 7055 {0}7056 };7057 7058 static const struct hda_pintbl ALC286_FIXUP_SONY_MIC_NO_PRESENCE_PINS[] = {7059 { 0x18, 0x01a1913c }, /* use as headset mic, without its own jack detect */7060 7048 {0} 7061 7049 }; … … 7128 7116 static const struct hda_pintbl ALC255_FIXUP_DELL2_MIC_NO_PRESENCE_PINS[] = { 7129 7117 { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ 7130 {0}7131 };7132 7133 static const struct hda_pintbl ALC293_FIXUP_DELL1_MIC_NO_PRESENCE_PINS[] = {7134 { 0x18, 0x01a1913d }, /* use as headphone mic, without its own jack detect */7135 { 0x1a, 0x01a1913c }, /* use as headset mic, without its own jack detect */7136 {0}7137 };7138 7139 static const struct hda_pintbl ALC292_FIXUP_TPT440_DOCK2_PINS[] = {7140 { 0x16, 0x21211010 }, /* dock headphone */7141 { 0x19, 0x21a11010 }, /* dock mic */7142 {0}7143 };7144 7145 static const struct hda_verb ALC275_FIXUP_DELL_XPS_VERBS[] = {7146 /* Enables internal speaker */7147 {0x20, AC_VERB_SET_COEF_INDEX, 0x1f},7148 {0x20, AC_VERB_SET_PROC_COEF, 0x00c0},7149 {0x20, AC_VERB_SET_COEF_INDEX, 0x30},7150 {0x20, AC_VERB_SET_PROC_COEF, 0x00b1},7151 {0}7152 };7153 7154 static const struct hda_verb ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE_VERBS[] = {7155 /* Disable pass-through path for FRONT 14h */7156 {0x20, AC_VERB_SET_COEF_INDEX, 0x36},7157 {0x20, AC_VERB_SET_PROC_COEF, 0x1737},7158 {0}7159 };7160 7161 static const struct hda_pintbl ALC221_FIXUP_HP_FRONT_MIC_PINS[] = {7162 { 0x19, 0x02a19020 }, /* Front Mic */7163 7118 {0} 7164 7119 }; … … 10558 10513 }; 10559 10514 10560 static const struct hda_pintbl ALC668_FIXUP_DELL_MIC_NO_PRESENCE_PINS[] = {10561 { 0x19, 0x03a1913d }, /* use as headphone mic, without its own jack detect */10562 { 0x1b, 0x03a1113c }, /* use as headset mic, without its own jack detect */10563 {0}10564 };10565 10566 10515 static const struct hda_pintbl ALC662_FIXUP_BASS_16_PINS[] = { 10567 10516 {0x16, 0x80106111}, /* bass speaker */ … … 10571 10520 static const struct hda_pintbl ALC662_FIXUP_BASS_1A_PINS[] = { 10572 10521 {0x1a, 0x80106111}, /* bass speaker */ 10573 {0}10574 };10575 10576 static const struct hda_pintbl ALC668_FIXUP_ASUS_Nx51_PINS[] = {10577 {0x1a, 0x90170151}, /* bass speaker */10578 {0}10579 };10580 10581 static const struct hda_pintbl ALC662_FIXUP_ACER_VERITON_PINS[] = {10582 { 0x15, 0x50170120 }, /* no internal speaker */10583 {0}10584 };10585 10586 static const struct hda_pintbl ALC892_FIXUP_ASROCK_MOBO_PINS[] = {10587 { 0x15, 0x40f000f0 }, /* disabled */10588 { 0x16, 0x40f000f0 }, /* disabled */10589 10522 {0} 10590 10523 }; -
GPL/branches/uniaud32-next/include/linux/device.h
r615 r622 76 76 struct list_head devres_head; 77 77 const struct attribute_group **groups; /* optional groups */ 78 conststruct dma_map_ops *dma_ops;78 struct dma_map_ops *dma_ops; 79 79 u64 *dma_mask; /* dma mask (if dma'able device) */ 80 80 u64 coherent_dma_mask; /* Like dma_mask, but for -
GPL/branches/uniaud32-next/include/linux/dma-mapping.h
r615 r622 108 108 109 109 static inline void set_dma_ops(struct device *dev, 110 conststruct dma_map_ops *dma_ops)110 struct dma_map_ops *dma_ops) 111 111 { 112 112 dev->dma_ops = dma_ops; -
GPL/branches/uniaud32-next/include/linux/list.h
r615 r622 294 294 * @head: the list to test. 295 295 */ 296 static inline int list_is_singular( conststruct list_head *head)296 static inline int list_is_singular(struct list_head *head) 297 297 { 298 298 return !list_empty(head) && (head->next == head->prev); -
GPL/branches/uniaud32-next/include/linux/log2.h
r615 r622 11 11 { 12 12 return (n != 0 && ((n & (n - 1)) == 0)); 13 }14 15 /*16 * round up to nearest power of two17 */18 static inline19 unsigned long __roundup_pow_of_two(unsigned long n)20 {21 return 1UL << fls_long(n - 1);22 }23 24 /*25 * round down to nearest power of two26 */27 static inline28 unsigned long __rounddown_pow_of_two(unsigned long n)29 {30 return 1UL << (fls_long(n) - 1);31 13 } 32 14 -
GPL/branches/uniaud32-next/include/linux/refcount.h
r615 r622 37 37 } 38 38 39 static inline __must_check bool refcount_add_not_zero(unsigned int i, refcount_t *r)40 {41 return atomic_add_unless(&r->refs, i, 0);42 }43 44 39 static inline void refcount_add(unsigned int i, refcount_t *r) 45 40 { 46 41 atomic_add(i, &r->refs); 47 }48 49 static inline __must_check bool refcount_inc_not_zero(refcount_t *r)50 {51 return atomic_add_unless(&r->refs, 1, 0);52 42 } 53 43
Note:
See TracChangeset
for help on using the changeset viewer.