Example #1
0
static int mp3_fsync(struct file *f, struct dentry *dentry, int datasync)
{
	struct mp3 *mp3 = f->private_data;
	if (mp3->ac)
		return q6audio_async(mp3->ac);
	return -ENODEV;
}
Example #2
0
static int mp3_fsync(struct file *f, loff_t ppos1, loff_t ppos2, int datasync)
{
	struct mp3 *mp3 = f->private_data;
	if (mp3->ac)
		return q6audio_async(mp3->ac);
	return -ENODEV;
}