summaryrefslogtreecommitdiff
path: root/src/soc/mediatek
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/mediatek')
-rw-r--r--src/soc/mediatek/mt8195/include/soc/gpio.h2
-rw-r--r--src/soc/mediatek/mt8195/spi.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/mediatek/mt8195/include/soc/gpio.h b/src/soc/mediatek/mt8195/include/soc/gpio.h
index 08fb64b06e..60f3af1d41 100644
--- a/src/soc/mediatek/mt8195/include/soc/gpio.h
+++ b/src/soc/mediatek/mt8195/include/soc/gpio.h
@@ -467,7 +467,7 @@ enum {
SPIM2_MO, SPINOR_IO0, SNFI_MOSI, DMIC4_DAT,
RES5, RES6, DBG_MON_A12),
PIN(143, SPIM2_MI, 0, 19, 0x21, 0xb0,
- PIM2_MI, SPINOR_IO1, SNFI_MISO, DMIC4_CLK,
+ SPIM2_MI, SPINOR_IO1, SNFI_MISO, DMIC4_CLK,
RES5, RES6, DBG_MON_A13),
};
diff --git a/src/soc/mediatek/mt8195/spi.c b/src/soc/mediatek/mt8195/spi.c
index 2772612b09..98b0d54a08 100644
--- a/src/soc/mediatek/mt8195/spi.c
+++ b/src/soc/mediatek/mt8195/spi.c
@@ -56,7 +56,7 @@ static const struct pad_func pad0_funcs[SPI_BUS_NUMBER][4] = {
PAD_FUNC(SPIM1_CLK, SPIM1_CLK),
},
{
- PAD_FUNC(SPIM2_MI, PIM2_MI),
+ PAD_FUNC(SPIM2_MI, SPIM2_MI),
PAD_FUNC_GPIO(SPIM2_CSB),
PAD_FUNC(SPIM2_MO, SPIM2_MO),
PAD_FUNC(SPIM2_CLK, SPIM2_CLK),