]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
pinctrl: airoha: an7583: remove undefined groups from pcm_spi pin function
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 6 Jun 2026 02:03:42 +0000 (05:03 +0300)
committerLinus Walleij <linusw@kernel.org>
Thu, 11 Jun 2026 11:52:49 +0000 (13:52 +0200)
pcm_spi_int, pcm_spi_cs2, pcm_spi_cs3, pcm_spi_cs4 pin groups are not
defined, so pcm_spi function can't be applied to these groups.

Fixes: 3ffeb17a9a27 ("pinctrl: airoha: add support for Airoha AN7583 PINs")
Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Signed-off-by: Linus Walleij <linusw@kernel.org>
drivers/pinctrl/airoha/pinctrl-airoha.c

index 3a452abc0b87824c054c1c66999655dfeda0217c..04b4424c688b2c49053037e6fa6dda3b66ad4899 100644 (file)
@@ -877,10 +877,8 @@ static const char *const pcm_spi_groups[] = { "pcm_spi", "pcm_spi_int",
                                              "pcm_spi_cs2_p156",
                                              "pcm_spi_cs2_p128",
                                              "pcm_spi_cs3", "pcm_spi_cs4" };
-static const char *const an7583_pcm_spi_groups[] = { "pcm_spi", "pcm_spi_int",
-                                                    "pcm_spi_rst", "pcm_spi_cs1",
-                                                    "pcm_spi_cs2", "pcm_spi_cs3",
-                                                    "pcm_spi_cs4" };
+static const char *const an7583_pcm_spi_groups[] = { "pcm_spi",
+                                                    "pcm_spi_rst", "pcm_spi_cs1" };
 static const char *const i2s_groups[] = { "i2s" };
 static const char *const emmc_groups[] = { "emmc" };
 static const char *const pnand_groups[] = { "pnand" };