/* This is called with the whole mon_bus locked, so no additional lock.  */
static char mon_text_get_setup(struct mon_event_text *ep, struct urb *urb, char ev_type, struct mon_bus *mbus)
/* This is called with the whole mon_bus locked, so no additional lock.  */
static char mon_text_get_setup(struct mon_event_text *ep, struct urb *urb, char ev_type, struct mon_bus *mbus)
{
	if (ep->xfertype != USB_ENDPOINT_XFER_CONTROL || ev_type != 'S')
		return '-';
	if (urb->setup_packet == NULL)
		return 'Z';
	memcpy(ep->setup, urb->setup_packet, SETUP_MAX);
	return 0;
}