Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8876d1c1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_fs: Use stream_open() for endpoint files"

parents 4fd1eea4 283ff971
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -679,7 +679,7 @@ static int ffs_ep0_open(struct inode *inode, struct file *file)
	file->private_data = ffs;
	ffs_data_opened(ffs);

	return 0;
	return stream_open(inode, file);
}

static int ffs_ep0_release(struct inode *inode, struct file *file)
@@ -1289,7 +1289,7 @@ ffs_epfile_open(struct inode *inode, struct file *file)
	ffs_data_opened(epfile->ffs);
	atomic_inc(&epfile->opened);

	return 0;
	return stream_open(inode, file);
}

static int ffs_aio_cancel(struct kiocb *kiocb)