Changeset 695 for GPL/trunk/alsa-kernel/pci/ens1370.c
- Timestamp:
- Aug 21, 2021, 3:35:34 AM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-next merged: 691-694
- Property svn:mergeinfo changed
-
GPL/trunk/alsa-kernel/pci/ens1370.c
r679 r695 56 56 #ifdef CHIP1370 57 57 MODULE_DESCRIPTION("Ensoniq AudioPCI ES1370"); 58 MODULE_SUPPORTED_DEVICE("{{Ensoniq,AudioPCI-97 ES1370},"59 "{Creative Labs,SB PCI64/128 (ES1370)}}");60 58 #endif 61 59 #ifdef CHIP1371 62 60 MODULE_DESCRIPTION("Ensoniq/Creative AudioPCI ES1371+"); 63 MODULE_SUPPORTED_DEVICE("{{Ensoniq,AudioPCI ES1371/73},"64 "{Ensoniq,AudioPCI ES1373},"65 "{Creative Labs,Ectiva EV1938},"66 "{Creative Labs,SB PCI64/128 (ES1371/73)},"67 "{Creative Labs,Vibra PCI128},"68 "{Ectiva,EV1938}}");69 61 #endif 70 62 … … 756 748 757 749 mutex_lock(&ensoniq->src_mutex); 758 freq = ((rate << 15) + 1500) / 3000;750 freq = DIV_ROUND_CLOSEST(rate << 15, 3000); 759 751 r = (snd_es1371_wait_src_ready(ensoniq) & (ES_1371_SRC_DISABLE | 760 752 ES_1371_DIS_P2 | ES_1371_DIS_R1)) | … … 777 769 778 770 mutex_lock(&ensoniq->src_mutex); 779 freq = ((rate << 15) + 1500) / 3000;771 freq = DIV_ROUND_CLOSEST(rate << 15, 3000); 780 772 r = (snd_es1371_wait_src_ready(ensoniq) & (ES_1371_SRC_DISABLE | 781 773 ES_1371_DIS_P1 | ES_1371_DIS_R1)) |
Note:
See TracChangeset
for help on using the changeset viewer.