# Re: \[PATCH v4 3/3\] pinctrl: pinctrl-single: fix pcs\_pin\_dbg\_show() when bits\_per\_mux is not zero

- From: Tony Lindgren \<tony@atomide.com\>
- Date: 2021-03-24 12:18:53 
- List: linux-gpio
- Page: https://ratatoskr.run/linux-gpio/2021/03/6313713
- Thread: https://ratatoskr.run/linux-arm-kernel/2021/03/6308065/t.md

```text
* Hanna Hawa [ref] [700101 02:00]:
> A System Error (SError, followed by kernel panic) was detected when
> trying to print the supported pins in a pinctrl device which supports
> multiple pins per register. This change fixes the pcs_pin_dbg_show() in
> pinctrl-single driver when bits_per_mux is not zero. In addition move
> offset calculation and pin offset in register to common function.

Reviewed-by: Tony Lindgren <tony@atomide.com>
```
