summaryrefslogtreecommitdiff
path: root/drivers/hv/channel_mgmt.c
diff options
context:
space:
mode:
authorHanna Hawa <hhhawa@amazon.com>2021-03-19 18:21:33 +0300
committerLinus Walleij <linus.walleij@linaro.org>2021-03-25 11:06:31 +0300
commitbd85125ea88513f637a62a72e8949c579c5c0a87 (patch)
tree100bbc0e19ed48420e2c5f714c4640675f342b1a /drivers/hv/channel_mgmt.c
parent8fa2ea202b13b6da81e26c399ff1d87488398453 (diff)
downloadlinux-bd85125ea88513f637a62a72e8949c579c5c0a87.tar.xz
pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero
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. Fixes: 4e7e8017a80e ("pinctrl: pinctrl-single: enhance to configure multiple pins of different modules") Signed-off-by: Hanna Hawa <hhhawa@amazon.com> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Reviewed-by: Tony Lindgren <tony@atomide.com> Reviewed-by: Drew Fustini <drew@beagleboard.org> Link: https://lore.kernel.org/r/20210319152133.28705-4-hhhawa@amazon.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/hv/channel_mgmt.c')
0 files changed, 0 insertions, 0 deletions