Changeset 669
- Timestamp:
- Jan 30, 2021, 7:33:44 AM (5 years ago)
- Location:
- GPL/branches/uniaud32-next/alsa-kernel/pci/hda
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_bind.c
r638 r669 16 16 #include "hda_local.h" 17 17 18 // 2020-11-17 SHL19 #include <../../../lib32/internal.h>20 18 #pragma disable_message (201) 21 19 … … 40 38 } 41 39 } 40 42 41 return 0; 43 42 } … … 102 101 if (err < 0) 103 102 goto error; 104 105 103 err = snd_hdac_regmap_init(&codec->core); 106 104 if (err < 0) … … 132 130 snd_hda_codec_register(codec); 133 131 } 132 134 133 codec->core.lazy_cache = true; 135 136 134 return 0; 137 135 … … 308 306 else 309 307 codec->probe_id = 0; 308 310 309 err = snd_hdac_device_register(&codec->core); 311 310 if (err < 0) … … 321 320 } 322 321 } 322 323 323 return 0; 324 324 -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/hda_codec.c
r668 r669 7 7 8 8 #include <linux/init.h> 9 #ifdef TARGET_OS210 #include <linux/time.h>11 #include <linux/mm.h>12 #endif13 9 #include <linux/delay.h> 14 10 #include <linux/slab.h> … … 629 625 EXPORT_SYMBOL_GPL(snd_hda_shutup_pins); 630 626 631 // 2020-11-17 SHL632 #include <../../../lib32/internal.h>633 634 635 627 #ifdef CONFIG_PM 636 628 /* Restore the pin controls cleared previously via snd_hda_shutup_pins() */ … … 752 744 pcm->name = kvasprintf(GFP_KERNEL, fmt, args); 753 745 va_end(args); 754 755 746 if (!pcm->name) { 756 747 kfree(pcm); … … 759 750 760 751 list_add_tail(&pcm->list, &codec->pcm_list_head); 761 762 752 return pcm; 763 753 } … … 2318 2308 { 2319 2309 const hda_nid_t *d; 2310 2320 2311 snd_hdac_regmap_update(&codec->core, nid, AC_VERB_SET_DIGI_CONVERT_1, 2321 2312 mask, val); … … 3099 3090 { 3100 3091 int err = 0; 3101 3102 3092 hda_exec_init_verbs(codec); 3103 3093 /* continue to initialize... */
Note:
See TracChangeset
for help on using the changeset viewer.