File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16725,6 +16725,13 @@ S: Maintained
1672516725F: Documentation/devicetree/bindings/gpio/snps,dw-apb-gpio.yaml
1672616726F: drivers/gpio/gpio-dwapb.c
1672716727
16728+ SYNOPSYS DESIGNWARE APB SSI DRIVER
16729+ M: Serge Semin <fancer.lancer@gmail.com>
16730+ L: linux-spi@vger.kernel.org
16731+ S: Supported
16732+ F: Documentation/devicetree/bindings/spi/snps,dw-apb-ssi.yaml
16733+ F: drivers/spi/spi-dw*
16734+
1672816735SYNOPSYS DESIGNWARE AXI DMAC DRIVER
1672916736M: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
1673016737S: Maintained
Original file line number Diff line number Diff line change @@ -1281,6 +1281,9 @@ static int dspi_probe(struct platform_device *pdev)
12811281 if (!ctlr )
12821282 return - ENOMEM ;
12831283
1284+ spi_controller_set_devdata (ctlr , dspi );
1285+ platform_set_drvdata (pdev , dspi );
1286+
12841287 dspi -> pdev = pdev ;
12851288 dspi -> ctlr = ctlr ;
12861289
@@ -1417,8 +1420,6 @@ static int dspi_probe(struct platform_device *pdev)
14171420 if (dspi -> devtype_data -> trans_mode != DSPI_DMA_MODE )
14181421 ctlr -> ptp_sts_supported = true;
14191422
1420- platform_set_drvdata (pdev , dspi );
1421-
14221423 ret = spi_register_controller (ctlr );
14231424 if (ret != 0 ) {
14241425 dev_err (& pdev -> dev , "Problem registering DSPI ctlr\n" );
Original file line number Diff line number Diff line change @@ -1707,7 +1707,7 @@ static int spi_imx_probe(struct platform_device *pdev)
17071707 ret = spi_bitbang_start (& spi_imx -> bitbang );
17081708 if (ret ) {
17091709 dev_err (& pdev -> dev , "bitbang start failed with %d\n" , ret );
1710- goto out_runtime_pm_put ;
1710+ goto out_bitbang_start ;
17111711 }
17121712
17131713 dev_info (& pdev -> dev , "probed\n" );
@@ -1717,6 +1717,9 @@ static int spi_imx_probe(struct platform_device *pdev)
17171717
17181718 return ret ;
17191719
1720+ out_bitbang_start :
1721+ if (spi_imx -> devtype_data -> has_dmamode )
1722+ spi_imx_sdma_exit (spi_imx );
17201723out_runtime_pm_put :
17211724 pm_runtime_dont_use_autosuspend (spi_imx -> dev );
17221725 pm_runtime_put_sync (spi_imx -> dev );
You can’t perform that action at this time.
0 commit comments