Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * musb_trace.c - MUSB Controller Trace Support
0004  *
0005  * Copyright (C) 2015 Texas Instruments Incorporated - http://www.ti.com
0006  *
0007  * Author: Bin Liu <b-liu@ti.com>
0008  */
0009 
0010 #define CREATE_TRACE_POINTS
0011 #include "musb_trace.h"
0012 
0013 void musb_dbg(struct musb *musb, const char *fmt, ...)
0014 {
0015     struct va_format vaf;
0016     va_list args;
0017 
0018     va_start(args, fmt);
0019     vaf.fmt = fmt;
0020     vaf.va = &args;
0021 
0022     trace_musb_log(musb, &vaf);
0023 
0024     va_end(args);
0025 }