diff --git a/sound/core/rawmidi.c b/sound/core/rawmidi.c
index 6f30231bdb88454c0d6c279f557965c1083608c4..befa9809ff001ec514a0512d560ce079041d86cc 100644
--- a/sound/core/rawmidi.c
+++ b/sound/core/rawmidi.c
@@ -447,6 +447,7 @@ static int snd_rawmidi_open(struct inode *inode, struct file *file)
 		err = -ENOMEM;
 		goto __error;
 	}
+	rawmidi_file->user_pversion = 0;
 	init_waitqueue_entry(&wait, current);
 	add_wait_queue(&rmidi->open_wait, &wait);
 	while (1) {