-/*
- * Debug functions
- */
-#undef DEBUG
-/* #define DEBUG */
-
-#define ERR(ARGS...) \
- do { \
- printk(KERN_ERR "{%s}-ERROR: ", __func__); \
- printk(ARGS); \
- } while (0)
-
-#ifdef DEBUG
-#define DPRINTK(ARGS...) \
- do { \
- printk(KERN_INFO "<%s>: ", __func__); \
- printk(ARGS); \
- } while (0)
-#define ADEBUG() printk("XXX Alsa debug f:%s, l:%d\n", __func__, __LINE__)
-#define FN_IN printk(KERN_INFO "[%s]: start\n", __func__)
-#define FN_OUT(n) printk(KERN_INFO "[%s]: end(%u)\n", __func__, n)
-#else
-#define DPRINTK(ARGS...) /* nop */
-#define ADEBUG() /* nop */
-#define FN_IN /* nop */
-#define FN_OUT(n) /* nop */
-#endif