Changeset 679 for GPL/trunk/lib32/soundmixer.c
- Timestamp:
- Mar 18, 2021, 8:57:36 PM (4 years ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-linux-3.2.102 (added) merged: 611-614 /GPL/branches/uniaud32-next (added) merged: 615-678
- Property svn:mergeinfo changed
-
GPL/trunk/lib32/soundmixer.c
r604 r679 148 148 } 149 149 //retrieve mixer information 150 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file,150 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, 151 151 SNDRV_CTL_IOCTL_CARD_INFO, 152 152 (ULONG)&pHandle->info); … … 157 157 pHandle->list.offset = 0; 158 158 pHandle->list.space = 0; 159 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file,159 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, 160 160 SNDRV_CTL_IOCTL_ELEM_LIST, 161 161 (ULONG)&pHandle->list); … … 172 172 pHandle->list.space = pHandle->list.count; 173 173 pHandle->list.pids = pHandle->pids; 174 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file,174 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, 175 175 SNDRV_CTL_IOCTL_ELEM_LIST, 176 176 (ULONG)&pHandle->list); … … 271 271 pElemInfo->value.enumerated.item = i; 272 272 pElemInfo->id.numid = pHandle->pids[idx].numid; 273 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo);273 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo); 274 274 if(ret) { 275 275 DebugInt3(); … … 484 484 pElem->value.integer.value[0] = TRUE; //switch, not mute control (inversed) 485 485 pElem->value.integer.value[1] = TRUE; 486 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);486 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem); 487 487 } 488 488 //request information about mixer control 489 489 pElemInfo->id.numid = pHandle->pids[idx].numid; 490 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo);490 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo); 491 491 if(ret) { 492 492 ret = UNIXToOSSError(ret); … … 515 515 516 516 #if 1 517 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);517 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem); 518 518 #else 519 519 // looking for more, then one opened streams to prevent of muting active stream … … 528 528 { 529 529 dprintf(("OSS32_MixSetVolume Ioctl")); 530 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);530 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem); 531 531 532 532 if(idxMute != -1 && volume == 0) { … … 538 538 pElem->value.integer.value[1] = FALSE; 539 539 dprintf(("OSS32_MixSetVolume Ioctl mute")); 540 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);540 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem); 541 541 } 542 542 } … … 603 603 //request information about mixer control 604 604 pElemInfo->id.numid = pHandle->pids[idx].numid; 605 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo);605 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo); 606 606 if(ret) { 607 607 ret = UNIXToOSSError(ret); … … 621 621 } 622 622 623 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);623 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem); 624 624 if(ret) { 625 625 ret = UNIXToOSSError(ret); … … 631 631 //request information about mixer control 632 632 pElemInfo->id.numid = pHandle->pids[idx].numid; 633 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo);633 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo); 634 634 if(ret) { 635 635 ret = UNIXToOSSError(ret); … … 678 678 //request information about mixer control 679 679 pElemInfo->id.numid = pHandle->pids[idx].numid; 680 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo);680 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_INFO, (ULONG)pElemInfo); 681 681 if(ret) { 682 682 ret = UNIXToOSSError(ret); … … 707 707 708 708 dprintf(("OSS32_MixSetProperty of %s to %x", pHandle->pids[idx].name, ulValue)); 709 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem);709 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, SNDRV_CTL_IOCTL_ELEM_WRITE, (ULONG)pElem); 710 710 711 711 kfree(pElem); … … 849 849 } 850 850 //retrieve mixer information 851 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file,851 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, 852 852 SNDRV_CTL_IOCTL_CARD_INFO, 853 853 (ULONG)&pHandle->info); … … 911 911 } 912 912 //retrieve mixer information 913 ret = pHandle->file.f_op-> ioctl(&pHandle->inode,&pHandle->file,913 ret = pHandle->file.f_op->unlocked_ioctl(&pHandle->file, 914 914 SNDRV_CTL_IOCTL_CARD_INFO, 915 915 (ULONG)&pHandle->info);
Note:
See TracChangeset
for help on using the changeset viewer.