lkml.org 
[lkml]   [2021]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/3] Fix pinctrl-single pcs_pin_dbg_show()
Date
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 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 <lkp@intel.com>)

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 | 67 +++++++++++++++++++-------------
1 file changed, 39 insertions(+), 28 deletions(-)

--
2.17.1

\
 
 \ /
  Last update: 2021-03-17 22:43    [W:0.101 / U:0.504 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site