@@ -683,7 +683,7 @@ static int rp1_pio_sm_config_xfer(struct rp1_pio_client *client, void *param)
683
683
}
684
684
685
685
static int rp1_pio_sm_tx_user (struct rp1_pio_device * pio , struct dma_info * dma ,
686
- const void __user * userbuf , size_t bytes )
686
+ const void __user * userbuf , size_t bytes )
687
687
{
688
688
struct platform_device * pdev = pio -> pdev ;
689
689
struct dma_async_tx_descriptor * desc ;
@@ -757,7 +757,7 @@ static int rp1_pio_sm_tx_user(struct rp1_pio_device *pio, struct dma_info *dma,
757
757
}
758
758
759
759
static int rp1_pio_sm_rx_user (struct rp1_pio_device * pio , struct dma_info * dma ,
760
- void __user * userbuf , size_t bytes )
760
+ void __user * userbuf , size_t bytes )
761
761
{
762
762
struct platform_device * pdev = pio -> pdev ;
763
763
struct dma_async_tx_descriptor * desc ;
@@ -809,8 +809,7 @@ static int rp1_pio_sm_rx_user(struct rp1_pio_device *pio, struct dma_info *dma,
809
809
desc -> callback = rp1_pio_sm_dma_callback ;
810
810
desc -> callback_param = dma ;
811
811
812
- // Submit the buffer - the callback will kick the semaphore
813
-
812
+ /* Submit the buffer - the callback will kick the semaphore */
814
813
ret = dmaengine_submit (desc );
815
814
if (ret < 0 )
816
815
break ;
0 commit comments