diff mbox

sh-pfc: r8a7790: Fix definition of IPSR5

Message ID 1398180483-10651-1-git-send-email-phil.edworthy@renesas.com (mailing list archive)
State Accepted
Commit 34ce57e9df7d14b52c7613bb2c190e411ca99186
Headers show

Commit Message

Phil Edworthy April 22, 2014, 3:28 p.m. UTC
From: Guido Piasenza <gpiasenza@soft-in.com>

The extra entry in the table makes SCIFA0_B, and all peripherals after it, fail.

Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
---
 drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Laurent Pinchart April 22, 2014, 4:39 p.m. UTC | #1
Hi Phil,

Thank you for the patch.

On Tuesday 22 April 2014 16:28:03 Phil Edworthy wrote:
> From: Guido Piasenza <gpiasenza@soft-in.com>
> 
> The extra entry in the table makes SCIFA0_B, and all peripherals after it,
> fail.
> 
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>

Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

> ---
>  drivers/pinctrl/sh-pfc/pfc-r8a7790.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c
> b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c index 4809371..dbf2ef9 100644
> --- a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c
> +++ b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c
> @@ -4795,7 +4795,7 @@ static const struct pinmux_cfg_reg
> pinmux_config_regs[] = { /* IP5_23_21 [3] */
>  		FN_WE1_N, FN_IERX, FN_CAN1_RX, FN_VI1_G4,
>  		FN_VI1_G4_B, FN_VI2_R6, FN_SCIFA0_CTS_N_B,
> -		FN_IERX_C, 0,
> +		FN_IERX_C,

I would have put that last entry at the end of the previous line, to have four 
entries on both lines.

>  		/* IP5_20_18 [3] */
>  		FN_WE0_N, FN_IECLK, FN_CAN_CLK,
>  		FN_VI2_VSYNC_N, FN_SCIFA0_TXD_B, FN_VI2_VSYNC_N_B, 0, 0,
Linus Walleij April 23, 2014, 2:09 p.m. UTC | #2
On Tue, Apr 22, 2014 at 5:28 PM, Phil Edworthy
<phil.edworthy@renesas.com> wrote:

> From: Guido Piasenza <gpiasenza@soft-in.com>
>
> The extra entry in the table makes SCIFA0_B, and all peripherals after it, fail.
>
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>

Patch applied for fixes with Lauren's additional fixup moving the define one
line up.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c
index 4809371..dbf2ef9 100644
--- a/drivers/pinctrl/sh-pfc/pfc-r8a7790.c
+++ b/drivers/pinctrl/sh-pfc/pfc-r8a7790.c
@@ -4795,7 +4795,7 @@  static const struct pinmux_cfg_reg pinmux_config_regs[] = {
 		/* IP5_23_21 [3] */
 		FN_WE1_N, FN_IERX, FN_CAN1_RX, FN_VI1_G4,
 		FN_VI1_G4_B, FN_VI2_R6, FN_SCIFA0_CTS_N_B,
-		FN_IERX_C, 0,
+		FN_IERX_C,
 		/* IP5_20_18 [3] */
 		FN_WE0_N, FN_IECLK, FN_CAN_CLK,
 		FN_VI2_VSYNC_N, FN_SCIFA0_TXD_B, FN_VI2_VSYNC_N_B, 0, 0,