Loading drivers/spi/spi-s3c64xx.c +19 −20 Original line number Diff line number Diff line Loading @@ -429,9 +429,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) dma_cap_mask_t mask; int ret; if (is_polling(sdd)) return 0; if (!is_polling(sdd)) { dma_cap_zero(mask); dma_cap_set(DMA_SLAVE, mask); Loading @@ -451,6 +449,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) ret = -EBUSY; goto out_rx; } } ret = pm_runtime_get_sync(&sdd->pdev->dev); if (ret < 0) { Loading Loading
drivers/spi/spi-s3c64xx.c +19 −20 Original line number Diff line number Diff line Loading @@ -429,9 +429,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) dma_cap_mask_t mask; int ret; if (is_polling(sdd)) return 0; if (!is_polling(sdd)) { dma_cap_zero(mask); dma_cap_set(DMA_SLAVE, mask); Loading @@ -451,6 +449,7 @@ static int s3c64xx_spi_prepare_transfer(struct spi_master *spi) ret = -EBUSY; goto out_rx; } } ret = pm_runtime_get_sync(&sdd->pdev->dev); if (ret < 0) { Loading