Skip to content
Snippets Groups Projects
Commit 5c211970 authored by Alexander Wilhelm's avatar Alexander Wilhelm
Browse files

updated

parent 950d8e0d
No related branches found
No related tags found
2 merge requests!7Multithreads enabled,!6Select
......@@ -51,7 +51,6 @@ struct mbox_ipu_device {
//static bool mbox_data_ready;
struct class *rproc_class = NULL;
struct mbox_ipu_device *dev;
static struct fasync_struct fa_struct;
static struct dentry *root_debugfs_dir;
static struct task_struct *thread_st;
......@@ -218,6 +217,7 @@ static int mbox_ipu_mmap(struct file *filp, struct vm_area_struct *vma)
static int mbox_ipu_fasync(int fd, struct file *filp, int mode)
{
dev_info(dev->dev, "mbox_ipu_fasync");
dev_info(dev->dev, "MODE: %d\n", mode);
/*if (!filp->private_data)
dev_info(dev->dev, "private_data is NULL");
......@@ -344,9 +344,6 @@ static int mbox_ipu_probe(struct platform_device *pdev)
dev->shm_addr = virt_addr;
dev->dma_handle = dma;
fa_struct.magic = 1;
dev->async_queue = &fa_struct;
ret = mbox_ipu_add_debugfs(pdev, dev);
if (ret)
return ret;
......
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment