diff options
| author | Hai Pham <[email protected]> | 2025-10-27 17:53:52 +0100 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2025-11-06 20:09:59 +0100 |
| commit | 1306e10b50f0aa28c42a25acb384b618e6d286a3 (patch) | |
| tree | 394d994e8a45823c49fa080db630875994552fbf /drivers | |
| parent | 7db190def05ce208f7c826b2149f165a651a985f (diff) | |
pinctrl: renesas: Show bit position in config write
Show bit position in config write debug log, which is helpful for cases
where the p port setting is applied at the exact p bit position.
Signed-off-by: Hai Pham <[email protected]>
Signed-off-by: Marek Vasut <[email protected]> # Unsplit the string
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/pinctrl/renesas/pfc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pinctrl/renesas/pfc.c b/drivers/pinctrl/renesas/pfc.c index db6be39a528..dfbb8457bbd 100644 --- a/drivers/pinctrl/renesas/pfc.c +++ b/drivers/pinctrl/renesas/pfc.c @@ -188,9 +188,9 @@ static void sh_pfc_write_config_reg(struct sh_pfc *pfc, sh_pfc_config_reg_helper(pfc, crp, field, &mapped_reg, &mask, &pos); - dev_dbg(pfc->dev, "write_reg addr = %x, value = 0x%x, field = %u, " - "r_width = %u, f_width = %u\n", - crp->reg, value, field, crp->reg_width, crp->field_width); + dev_dbg(pfc->dev, + "write_reg addr = %x, value = 0x%x, field = %u, pos = %u, r_width = %u, f_width = %u\n", + crp->reg, value, field, pos, crp->reg_width, crp->field_width); mask = ~(mask << pos); value = value << pos; |
