static int sscape_coproc_open(void *dev_info, int sub_device)
{
	if (sub_device == COPR_MIDI)
	{
		set_mt32(devc, 0);
		if (!verify_mpu(devc))
			return -EIO;
	}
	return 0;
}
Beispiel #2
0
static int
sscape_coproc_open(void *dev_info, int sub_device)
{
    if (sub_device == COPR_MIDI) {
	set_mt32(devc, 0);
	if (!verify_mpu(devc))
	    return -(EIO);
    }
    sscape_sleep_flag.aborting = 0;
    sscape_sleep_flag.mode = WK_NONE;
    return 0;
}