| From 69344f764804cb5797fba3289036a75e2e3a611f Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Wed, 23 Jan 2019 16:51:21 +0100 |
| Subject: pinctrl: sh-pfc: sh73a0: Fix fsic_spdif pin groups |
| |
| From: Geert Uytterhoeven <geert+renesas@glider.be> |
| |
| [ Upstream commit 0e6e448bdcf896d001a289a6112a704542d51516 ] |
| |
| There are two pin groups for the FSIC SPDIF signal, but the FSIC pin |
| group array lists only one, and it refers to a nonexistent group. |
| |
| Fixes: 2ecd4154c906b7d6 ("sh-pfc: sh73a0: Add FSI pin groups and functions") |
| Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> |
| Reviewed-by: Simon Horman <horms+renesas@verge.net.au> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/pinctrl/sh-pfc/pfc-sh73a0.c | 3 ++- |
| 1 file changed, 2 insertions(+), 1 deletion(-) |
| |
| diff --git a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| index f8fbedb46585d..6dca760f9f280 100644 |
| --- a/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| +++ b/drivers/pinctrl/sh-pfc/pfc-sh73a0.c |
| @@ -3367,7 +3367,8 @@ static const char * const fsic_groups[] = { |
| "fsic_sclk_out", |
| "fsic_data_in", |
| "fsic_data_out", |
| - "fsic_spdif", |
| + "fsic_spdif_0", |
| + "fsic_spdif_1", |
| }; |
| |
| static const char * const fsid_groups[] = { |
| -- |
| 2.20.1 |
| |