/* unsubscribe callback - disallow output to rawmidi device  */
static int snd_virmidi_unsubscribe(void *private_data, struct snd_seq_port_subscribe *info)
/* unsubscribe callback - disallow output to rawmidi device  */
static int snd_virmidi_unsubscribe(void *private_data, struct snd_seq_port_subscribe *info)
{
	struct snd_virmidi_dev *rdev;
	rdev = private_data;
	rdev->flags &= ~SNDRV_VIRMIDI_SUBSCRIBE;
	module_put(rdev->card->module);
	return 0;
}