summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorAdrian Alonso <aalonso@freescale.com>2012-04-04 10:01:09 -0500
committerJason Liu <r64343@freescale.com>2012-07-20 13:34:17 +0800
commita92f6b25a5020235b3ff7e81e66840488df5a49a (patch)
treef3a86aba44524b7ac96a78186f3e85d41aeff53a /sound/soc
parent865c2f68350fb3d7e1e56f9a33ebe80953503f10 (diff)
ENGR00178916: imx-esai improve dump regs format
* Improve dump regs format to easily correlate register content. * Update copyrigth year. Signed-off-by: Adrian Alonso <aalonso@freescale.com>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/imx/imx-esai.h41
1 files changed, 21 insertions, 20 deletions
diff --git a/sound/soc/imx/imx-esai.h b/sound/soc/imx/imx-esai.h
index 97cf1c44c004..d27cbd00ae96 100644
--- a/sound/soc/imx/imx-esai.h
+++ b/sound/soc/imx/imx-esai.h
@@ -1,7 +1,7 @@
/*
* imx-esai.h -- ESAI driver header file for Freescale IMX
*
- * Copyright 2008-2011 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2008-2012 Freescale Semiconductor, Inc. All Rights Reserved.
*/
/*
@@ -19,25 +19,26 @@
#ifdef IMX_ESAI_DUMP
#define ESAI_DUMP() \
do {pr_info("dump @ %s\n", __func__); \
- pr_info("ecr %x\n", readl(esai->base + ESAI_ECR)); \
- pr_info("esr %x\n", readl(esai->base + ESAI_ESR)); \
- pr_info("tfcr %x\n", readl(esai->base + ESAI_TFCR)); \
- pr_info("tfsr %x\n", readl(esai->base + ESAI_TFSR)); \
- pr_info("rfcr %x\n", readl(esai->base + ESAI_RFCR)); \
- pr_info("rfsr %x\n", readl(esai->base + ESAI_RFSR)); \
- pr_info("tsr %x\n", readl(esai->base + ESAI_TSR)); \
- pr_info("saisr %x\n", readl(esai->base + ESAI_SAISR)); \
- pr_info("saicr %x\n", readl(esai->base + ESAI_SAICR)); \
- pr_info("tcr %x\n", readl(esai->base + ESAI_TCR)); \
- pr_info("tccr %x\n", readl(esai->base + ESAI_TCCR)); \
- pr_info("rcr %x\n", readl(esai->base + ESAI_RCR)); \
- pr_info("rccr %x\n", readl(esai->base + ESAI_RCCR)); \
- pr_info("tsma %x\n", readl(esai->base + ESAI_TSMA)); \
- pr_info("tsmb %x\n", readl(esai->base + ESAI_TSMB)); \
- pr_info("rsma %x\n", readl(esai->base + ESAI_RSMA)); \
- pr_info("rsmb %x\n", readl(esai->base + ESAI_RSMB)); \
- pr_info("prrc %x\n", readl(esai->base + ESAI_PRRC)); \
- pr_info("pcrc %x\n", readl(esai->base + ESAI_PCRC)); } while (0);
+ pr_info("ESAI_ECR 0x%08x\n", readl(esai->base + ESAI_ECR)); \
+ pr_info("ESAI_ESR 0x%08x\n", readl(esai->base + ESAI_ESR)); \
+ pr_info("ESAI_TFCR 0x%08x\n", readl(esai->base + ESAI_TFCR)); \
+ pr_info("ESAI_TFSR 0x%08x\n", readl(esai->base + ESAI_TFSR)); \
+ pr_info("ESAI_RFCR 0x%08x\n", readl(esai->base + ESAI_RFCR)); \
+ pr_info("ESAI_RFSR 0x%08x\n", readl(esai->base + ESAI_RFSR)); \
+ pr_info("ESAI_TSR 0x%08x\n", readl(esai->base + ESAI_TSR)); \
+ pr_info("ESAI_SAISR 0x%08x\n", readl(esai->base + ESAI_SAISR)); \
+ pr_info("ESAI_SAICR 0x%08x\n", readl(esai->base + ESAI_SAICR)); \
+ pr_info("ESAI_TCR 0x%08x\n", readl(esai->base + ESAI_TCR)); \
+ pr_info("ESAI_TCCR 0x%08x\n", readl(esai->base + ESAI_TCCR)); \
+ pr_info("ESAI_RCR 0x%08x\n", readl(esai->base + ESAI_RCR)); \
+ pr_info("ESAI_RCCR 0x%08x\n", readl(esai->base + ESAI_RCCR)); \
+ pr_info("ESAI_TSMA 0x%08x\n", readl(esai->base + ESAI_TSMA)); \
+ pr_info("ESAI_TSMB 0x%08x\n", readl(esai->base + ESAI_TSMB)); \
+ pr_info("ESAI_RSMA 0x%08x\n", readl(esai->base + ESAI_RSMA)); \
+ pr_info("ESAI_RSMB 0x%08x\n", readl(esai->base + ESAI_RSMB)); \
+ pr_info("ESAI_PRRC 0x%08x\n", readl(esai->base + ESAI_PRRC)); \
+ pr_info("ESAI_PCRC 0x%08x\n", readl(esai->base + ESAI_PCRC)); \
+ } while (0);
#else
#define ESAI_DUMP()
#endif