diff options
Diffstat (limited to 'sound/usb/usx2y')
-rw-r--r-- | sound/usb/usx2y/usx2yhwdeppcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/usb/usx2y/usx2yhwdeppcm.c b/sound/usb/usx2y/usx2yhwdeppcm.c index 0dc828ff9e94..c9136a98755f 100644 --- a/sound/usb/usx2y/usx2yhwdeppcm.c +++ b/sound/usb/usx2y/usx2yhwdeppcm.c | |||
@@ -691,6 +691,7 @@ static struct page * snd_usX2Y_hwdep_pcm_vm_nopage(struct vm_area_struct *area, | |||
691 | snd_assert((offset % PAGE_SIZE) == 0, return NOPAGE_OOM); | 691 | snd_assert((offset % PAGE_SIZE) == 0, return NOPAGE_OOM); |
692 | vaddr = (char*)((usX2Ydev_t*)area->vm_private_data)->hwdep_pcm_shm + offset; | 692 | vaddr = (char*)((usX2Ydev_t*)area->vm_private_data)->hwdep_pcm_shm + offset; |
693 | page = virt_to_page(vaddr); | 693 | page = virt_to_page(vaddr); |
694 | get_page(page); | ||
694 | 695 | ||
695 | if (type) | 696 | if (type) |
696 | *type = VM_FAULT_MINOR; | 697 | *type = VM_FAULT_MINOR; |