pinctrl: lewisburg: Update number of pins in community

Message ID 20210412231759.15474-1-yzhong@purestorage.com
State New
Headers show
Series
  • pinctrl: lewisburg: Update number of pins in community
Related show

Commit Message

Yuanyuan Zhong April 12, 2021, 11:17 p.m.
When updating pin names for Intel Lewisburg, the numbers of pins were
left behind. Update them accordingly.

Fixes: e66ff71fd0db ("pinctrl: lewisburg: Update pin list according to v1.1v6")
Signed-off-by: Yuanyuan Zhong <yzhong@purestorage.com>
---
 drivers/pinctrl/intel/pinctrl-lewisburg.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Andy Shevchenko April 13, 2021, 11:14 a.m. | #1
On Mon, Apr 12, 2021 at 05:17:59PM -0600, Yuanyuan Zhong wrote:
> When updating pin names for Intel Lewisburg, the numbers of pins were
> left behind. Update them accordingly.

Applied, thanks!

> Fixes: e66ff71fd0db ("pinctrl: lewisburg: Update pin list according to v1.1v6")
> Signed-off-by: Yuanyuan Zhong <yzhong@purestorage.com>
> ---
>  drivers/pinctrl/intel/pinctrl-lewisburg.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/pinctrl/intel/pinctrl-lewisburg.c b/drivers/pinctrl/intel/pinctrl-lewisburg.c
> index 7fdf4257df1e..ad4b446d588e 100644
> --- a/drivers/pinctrl/intel/pinctrl-lewisburg.c
> +++ b/drivers/pinctrl/intel/pinctrl-lewisburg.c
> @@ -299,9 +299,9 @@ static const struct pinctrl_pin_desc lbg_pins[] = {
>  static const struct intel_community lbg_communities[] = {
>  	LBG_COMMUNITY(0, 0, 71),
>  	LBG_COMMUNITY(1, 72, 132),
> -	LBG_COMMUNITY(3, 133, 144),
> -	LBG_COMMUNITY(4, 145, 180),
> -	LBG_COMMUNITY(5, 181, 246),
> +	LBG_COMMUNITY(3, 133, 143),
> +	LBG_COMMUNITY(4, 144, 178),
> +	LBG_COMMUNITY(5, 179, 246),
>  };
>  
>  static const struct intel_pinctrl_soc_data lbg_soc_data = {
> -- 
> 2.31.1
>

Patch

diff --git a/drivers/pinctrl/intel/pinctrl-lewisburg.c b/drivers/pinctrl/intel/pinctrl-lewisburg.c
index 7fdf4257df1e..ad4b446d588e 100644
--- a/drivers/pinctrl/intel/pinctrl-lewisburg.c
+++ b/drivers/pinctrl/intel/pinctrl-lewisburg.c
@@ -299,9 +299,9 @@  static const struct pinctrl_pin_desc lbg_pins[] = {
 static const struct intel_community lbg_communities[] = {
 	LBG_COMMUNITY(0, 0, 71),
 	LBG_COMMUNITY(1, 72, 132),
-	LBG_COMMUNITY(3, 133, 144),
-	LBG_COMMUNITY(4, 145, 180),
-	LBG_COMMUNITY(5, 181, 246),
+	LBG_COMMUNITY(3, 133, 143),
+	LBG_COMMUNITY(4, 144, 178),
+	LBG_COMMUNITY(5, 179, 246),
 };
 
 static const struct intel_pinctrl_soc_data lbg_soc_data = {