/* return 0 in case more bandwidth is available, else errorcode  */
static int c67x00_add_int_urb(struct c67x00_hcd *c67x00, struct urb *urb)
/* return 0 in case more bandwidth is available, else errorcode  */
static int c67x00_add_int_urb(struct c67x00_hcd *c67x00, struct urb *urb)
{
	struct c67x00_urb_priv *urbp = urb->hcpriv;
	if (frame_after_eq(c67x00->current_frame, urbp->ep_data->next_frame)) {
		urbp->ep_data->next_frame =
		    frame_add(urbp->ep_data->next_frame, urb->interval);
		return c67x00_add_data_urb(c67x00, urb);
	}
	return 0;
}