WM8904: Add an option to control WM8904 register dumping

This commit is contained in:
Gregory Nutt
2014-08-02 06:52:42 -06:00
parent 1f2428c087
commit f4bc0ad99a
6 changed files with 17 additions and 7 deletions
+3 -1
View File
@@ -66,6 +66,8 @@
* CONFIG_WM8904_NUM_BUFFERS - Preferred number of buffers
* CONFIG_WM8904_WORKER_STACKSIZE - Stack size to use when creating the the
* WM8904 worker thread.
* CONFIG_WM8904_REGDUMP - Enable logic to dump all WM8904 registers to
* the SYSLOG device.
*/
/* Pre-requisites */
@@ -232,7 +234,7 @@ FAR struct audio_lowerhalf_s *
*
****************************************************************************/
#ifdef CONFIG_DEBUG_AUDIO
#ifdef CONFIG_WM8904_REGDUMP
void wm8904_dump_registers(FAR struct audio_lowerhalf_s *dev,
FAR const char *msg);
#else