]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/hid/hid-sensor-custom.c
Merge branch 'opp/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/vireshk/pm
[linux.git] / drivers / hid / hid-sensor-custom.c
index c60f82673cf28d0fe1fd22f67819df54d29990b9..fb827c295842f0e4ebe9e81974c513bef9c6638e 100644 (file)
@@ -687,7 +687,7 @@ static int hid_sensor_custom_open(struct inode *inode, struct file *file)
        if (test_and_set_bit(0, &sensor_inst->misc_opened))
                return -EBUSY;
 
-       return nonseekable_open(inode, file);
+       return stream_open(inode, file);
 }
 
 static __poll_t hid_sensor_custom_poll(struct file *file,