mbox series

[0/2] Fix pinctrl-single pcs_pin_dbg_show()

Message ID 20210315145944.20412-1-hhhawa@amazon.com (mailing list archive)
Headers show
Series Fix pinctrl-single pcs_pin_dbg_show() | expand

Message

Hawa, Hanna March 15, 2021, 2:59 p.m. UTC
These patches fix the pcs_pin_dbg_show() function for the scenario where
a single register controls multiple pins (i.e. bits_per_mux != 0).
Additionally, the common formula is moved to a separate function to
allow reuse.

Hanna Hawa (2):
  pinctrl: pinctrl-single: remove unused parameter
  pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux != 0

 drivers/pinctrl/pinctrl-single.c | 74 ++++++++++++++++++++------------
 1 file changed, 47 insertions(+), 27 deletions(-)