mediatek: add support for SPI calibration
[openwrt/staging/nbd.git] / target / linux / mediatek / patches-5.15 / 930-spi-mt65xx-enable-sel-clk.patch
index 904f2ef3a2ff7bdafcf55c7468265230a5fc1b48..ebb6c060b54c65e768c273389dfd7e77b9f25b55 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/spi/spi-mt65xx.c
 +++ b/drivers/spi/spi-mt65xx.c
-@@ -1223,10 +1223,16 @@ static int mtk_spi_probe(struct platform
+@@ -1231,10 +1231,16 @@ static int mtk_spi_probe(struct platform
                goto err_disable_spi_hclk;
        }
  
@@ -18,7 +18,7 @@
        }
  
        mdata->spi_clk_hz = clk_get_rate(mdata->spi_clk);
-@@ -1277,6 +1283,8 @@ static int mtk_spi_probe(struct platform
+@@ -1285,6 +1291,8 @@ static int mtk_spi_probe(struct platform
  
  err_disable_runtime_pm:
        pm_runtime_disable(&pdev->dev);