Skip to content

Fix pinctrl-single pcs_pin_dbg_show()

Hanna Hawa linux-arm-kernel linux-gpio linux-omap lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 6 repliesIn review
  2. v2 posting 2/20 of 3 patches 0 repliesSuperseded
  3. v33 patches 3 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v2 posting 1/23 patches2 repliesSuperseded
v12 patches0 repliesSuperseded

Changes in v4 from the cover letter

-----------------
- define and set variable 'mux_bytes' in one line
- update commit message

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3pinctrl: pinctrl-single: remove unused variabledrivers/pinctrl/pinctrl-single.c+0 -21 reply
2/3pinctrl: pinctrl-single: remove unused parameterdrivers/pinctrl/pinctrl-single.c+2 -61 reply
3/3pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zerodrivers/pinctrl/pinctrl-single.c+35 -201 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchAndy ShevchenkoDrew FustiniTony Lindgren
SeriesR-b
1/3R-b
2/3R-b
3/3R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [PATCH v4 0/3] Fix pinctrl-single pcs_pin_dbg_show()

These patches fix the pcs_pin_dbg_show() function for the scenario where a single register controls multiple pins (i.e. bits_per_mux is not zero) Additionally, the common formula is moved to a separate function to allow reuse.

Changes since v3:
-----------------
- define and set variable 'mux_bytes' in one line
- update commit message

Changes since v2:
-----------------
- move read() register to be outside of if condition (as it common read()).
- Remove extra parentheses
- replace offset variable by direct return statements

Changes since v1:
-----------------
- remove unused variable in In function 'pcs_allocate_pin_table' (Reported-by: kernel test robot <[email protected]>)

Hanna Hawa (3):
pinctrl: pinctrl-single: remove unused variable
pinctrl: pinctrl-single: remove unused parameter
pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is
not zero

 drivers/pinctrl/pinctrl-single.c | 65 ++++++++++++++++++--------------
 1 file changed, 37 insertions(+), 28 deletions(-)
Signature · 1 line
2.17.1