diff mbox series

[1/2] pinctrl: Increase length of pinmux status buffer

Message ID 3a6be84c8354f38754a9838670cc0319e84f29e8.1645626183.git.michal.simek@xilinx.com
State Accepted
Commit e19b8dda92772d9ba86db4099a85a7b3cb82fd7a
Delegated to: Michal Simek
Headers show
Series [1/2] pinctrl: Increase length of pinmux status buffer | expand

Commit Message

Michal Simek Feb. 23, 2022, 2:23 p.m. UTC
From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>

Xilinx ZynqMP SOC can set 6 parameters for its pins. pinmux status
command will print the status of these parameters for each pin. But
current print buffer length is only 40 characters long, increase it
to 80 to print all the parameters.

Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
---

 include/dm/pinctrl.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek March 7, 2022, 7:57 a.m. UTC | #1
st 23. 2. 2022 v 15:23 odesílatel Michal Simek <michal.simek@xilinx.com> napsal:
>
> From: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
>
> Xilinx ZynqMP SOC can set 6 parameters for its pins. pinmux status
> command will print the status of these parameters for each pin. But
> current print buffer length is only 40 characters long, increase it
> to 80 to print all the parameters.
>
> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@xilinx.com>
> Signed-off-by: Michal Simek <michal.simek@xilinx.com>
> ---
>
>  include/dm/pinctrl.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
> index 0c461e56bb48..a09b242fd990 100644
> --- a/include/dm/pinctrl.h
> +++ b/include/dm/pinctrl.h
> @@ -7,7 +7,7 @@
>  #define __PINCTRL_H
>
>  #define PINNAME_SIZE   10
> -#define PINMUX_SIZE    40
> +#define PINMUX_SIZE    80
>
>  /**
>   * struct pinconf_param - pin config parameters
> --
> 2.35.1
>

Applied.
M
diff mbox series

Patch

diff --git a/include/dm/pinctrl.h b/include/dm/pinctrl.h
index 0c461e56bb48..a09b242fd990 100644
--- a/include/dm/pinctrl.h
+++ b/include/dm/pinctrl.h
@@ -7,7 +7,7 @@ 
 #define __PINCTRL_H
 
 #define PINNAME_SIZE	10
-#define PINMUX_SIZE	40
+#define PINMUX_SIZE	80
 
 /**
  * struct pinconf_param - pin config parameters