Changeset 720
- Timestamp:
- Sep 4, 2022, 12:53:31 AM (3 years ago)
- Location:
- GPL/branches/uniaud32-next
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/alsa-kernel/pci/ens1370.c
r713 r720 749 749 750 750 mutex_lock(&ensoniq->src_mutex); 751 #ifndef TARGET_OS2 751 752 freq = DIV_ROUND_CLOSEST(rate << 15, 3000); 753 #else 754 freq = ((rate << 15) + 1500) / 3000; 755 #endif 752 756 r = (snd_es1371_wait_src_ready(ensoniq) & (ES_1371_SRC_DISABLE | 753 757 ES_1371_DIS_P2 | ES_1371_DIS_R1)) | … … 770 774 771 775 mutex_lock(&ensoniq->src_mutex); 776 #ifndef TARGET_OS2 772 777 freq = DIV_ROUND_CLOSEST(rate << 15, 3000); 778 #else 779 freq = ((rate << 15) + 1500) / 3000; 780 #endif 773 781 r = (snd_es1371_wait_src_ready(ensoniq) & (ES_1371_SRC_DISABLE | 774 782 ES_1371_DIS_P1 | ES_1371_DIS_R1)) | -
GPL/branches/uniaud32-next/alsa-kernel/pci/hda/patch_realtek.c
r716 r720 5199 5199 } 5200 5200 5201 #ifndef TARGET_OS2 5201 5202 /* toggle GPIO2 at each time stream is started; we use PREPARE state instead */ 5202 5203 static void alc274_hp_envy_pcm_hook(struct hda_pcm_stream *hinfo, … … 5215 5216 } 5216 5217 5217 #ifdef NOT_USED5218 5218 static void alc274_fixup_hp_envy_gpio(struct hda_codec *codec, 5219 5219 const struct hda_fixup *fix, -
GPL/branches/uniaud32-next/include/linux/io.h
r718 r720 7 7 #include <linux/err.h> 8 8 9 void __iomem *devm_ioremap(struct device *dev, resource_size_t offset, 10 resource_size_t size); 11 9 12 #endif /* _LINUX_IO_H */ -
GPL/branches/uniaud32-next/include/linux/kernel.h
r660 r720 15 15 #include <linux/types.h> 16 16 #include <linux/log2.h> 17 #include <linux/string.h> 18 #include <linux/math.h> 17 19 18 20 /* Optimization barrier */ -
GPL/branches/uniaud32-next/include/linux/rwsem.h
r694 r720 14 14 #define up_read(x) up(x) 15 15 #define up_write(x) up(x) 16 #define downgrade_write 16 static inline void downgrade_write(struct rw_semaphore *sem) {} 17 17 18 18 static inline int down_write_trylock(struct rw_semaphore *sem) {return 0;} -
GPL/branches/uniaud32-next/include/linux/string.h
r716 r720 27 27 return dst; 28 28 } 29 ssize_t strscpy(char *, const char *, size_t); 29 30 30 #define vmemdup_user memdup_user 31 31 #define scnprintf snprintf -
GPL/branches/uniaud32-next/lib32/devres.c
r719 r720 151 151 } 152 152 153 #if 0 //2022-09-02154 153 static int remove_nodes(struct device *dev, 155 154 struct list_head *first, struct list_head *end, … … 264 263 flags); 265 264 } 266 #endif267 265 268 266 static struct devres *find_dr(struct device *dev, dr_release_t release, … … 375 373 { 376 374 /* noop */ 377 }378 379 static int devm_kmalloc_match(struct device *dev, void *res, void *data)380 {381 return res == data;382 375 } 383 376 … … 427 420 { 428 421 iounmap(*(void __iomem **)res); 429 }430 431 static int devm_ioremap_match(struct device *dev, void *res, void *match_data)432 {433 return *(void **)res == match_data;434 422 } 435 423
Note:
See TracChangeset
for help on using the changeset viewer.