···233233 int value;234234235235 if (cmd == SNDCTL_SEQ_CTRLRATE) {236236- debug_printk(("ctrl rate\n"));237236 /* if *arg == 0, just return the current rate */238237 if (get_user(value, arg))239238 return -EFAULT;···247248248249 switch (cmd) {249250 case SNDCTL_TMR_START:250250- debug_printk(("timer start\n"));251251 return snd_seq_oss_timer_start(timer);252252 case SNDCTL_TMR_STOP:253253- debug_printk(("timer stop\n"));254253 return snd_seq_oss_timer_stop(timer);255254 case SNDCTL_TMR_CONTINUE:256256- debug_printk(("timer continue\n"));257255 return snd_seq_oss_timer_continue(timer);258256 case SNDCTL_TMR_TEMPO:259259- debug_printk(("timer tempo\n"));260257 if (get_user(value, arg))261258 return -EFAULT;262259 return snd_seq_oss_timer_tempo(timer, value);263260 case SNDCTL_TMR_TIMEBASE:264264- debug_printk(("timer timebase\n"));265261 if (get_user(value, arg))266262 return -EFAULT;267263 if (value < MIN_OSS_TIMEBASE)···270276 case SNDCTL_TMR_METRONOME:271277 case SNDCTL_TMR_SELECT:272278 case SNDCTL_TMR_SOURCE:273273- debug_printk(("timer XXX\n"));274279 /* not supported */275280 return 0;276281 }