summaryrefslogtreecommitdiff
path: root/xhfc/xhfc_leb.h
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-02-15 18:30:37 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2012-02-15 18:30:37 +0100
commit9239c48f767083d0fba314054edabaa5e9dac59a (patch)
tree0d7c230386da4acf82ca9969db0bb2936583dd6a /xhfc/xhfc_leb.h
parentaf8ad1dd6ffae6bd924dd4bb8628a79364f91e23 (diff)
add soft conf traces
Diffstat (limited to 'xhfc/xhfc_leb.h')
-rw-r--r--xhfc/xhfc_leb.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/xhfc/xhfc_leb.h b/xhfc/xhfc_leb.h
index 4ca9d26..467a524 100644
--- a/xhfc/xhfc_leb.h
+++ b/xhfc/xhfc_leb.h
@@ -53,6 +53,9 @@ static inline void write_xhfc_soft_conf(struct xhfc *xhfc, u8 soft_conf)
{
u8 __iomem *cs_n1 = xhfc->pi->cs_n1;
+ if (DBG_REGS)
+ printk(KERN_INFO "SOFTCONF: %02x\n", soft_conf);
+
writeb(soft_conf, &cs_n1[0]);
/* ensure the write has been completed: */