Commit 65c94e4d authored by Colin Ian King's avatar Colin Ian King Committed by Mark Brown

ASoC: mediatek: mt8186: Fix spelling mistake "slect" -> "select"

There are some spelling mistakes in dev_err messages. Fix them.
Signed-off-by: default avatarColin Ian King <colin.i.king@gmail.com>
Reviewed-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220928220417.66799-1-colin.i.king@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 7ba6546b
......@@ -170,25 +170,25 @@ static int mt8186_afe_gpio_adda_ul(struct device *dev, bool enable)
if (enable) {
ret = mt8186_afe_gpio_select(dev, MT8186_AFE_GPIO_CLK_MISO_ON);
if (ret) {
dev_err(dev, "%s(), MISO CLK ON slect fail!\n", __func__);
dev_err(dev, "%s(), MISO CLK ON select fail!\n", __func__);
return ret;
}
ret = mt8186_afe_gpio_select(dev, MT8186_AFE_GPIO_DAT_MISO_ON);
if (ret) {
dev_err(dev, "%s(), MISO DAT ON slect fail!\n", __func__);
dev_err(dev, "%s(), MISO DAT ON select fail!\n", __func__);
return ret;
}
} else {
ret = mt8186_afe_gpio_select(dev, MT8186_AFE_GPIO_DAT_MISO_OFF);
if (ret) {
dev_err(dev, "%s(), MISO DAT OFF slect fail!\n", __func__);
dev_err(dev, "%s(), MISO DAT OFF select fail!\n", __func__);
return ret;
}
ret = mt8186_afe_gpio_select(dev, MT8186_AFE_GPIO_CLK_MISO_OFF);
if (ret) {
dev_err(dev, "%s(), MISO CLK OFF slect fail!\n", __func__);
dev_err(dev, "%s(), MISO CLK OFF select fail!\n", __func__);
return ret;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment