[RFC PATCH 03/40] soundwire: cadence_master: align debugfs to 8 digits
From: Pierre-Louis Bossart
Date: Thu Jul 25 2019 - 19:41:09 EST
SQUASHME
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@xxxxxxxxxxxxxxx>
---
drivers/soundwire/cadence_master.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c
index 91e8bacb83e3..9f611a1fff0a 100644
--- a/drivers/soundwire/cadence_master.c
+++ b/drivers/soundwire/cadence_master.c
@@ -234,7 +234,7 @@ static ssize_t cdns_sprintf(struct sdw_cdns *cdns,
char *buf, size_t pos, unsigned int reg)
{
return scnprintf(buf + pos, RD_BUF - pos,
- "%4x\t%4x\n", reg, cdns_readl(cdns, reg));
+ "%4x\t%8x\n", reg, cdns_readl(cdns, reg));
}
static ssize_t cdns_reg_read(struct file *file, char __user *user_buf,
--
2.20.1