@@ -683,7 +683,7 @@ static int rp1_pio_sm_config_xfer(struct rp1_pio_client *client, void *param)
683683}
684684
685685static 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 )
687687{
688688 struct platform_device * pdev = pio -> pdev ;
689689 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,
757757}
758758
759759static 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 )
761761{
762762 struct platform_device * pdev = pio -> pdev ;
763763 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,
809809 desc -> callback = rp1_pio_sm_dma_callback ;
810810 desc -> callback_param = dma ;
811811
812- // Submit the buffer - the callback will kick the semaphore
813-
812+ /* Submit the buffer - the callback will kick the semaphore */
814813 ret = dmaengine_submit (desc );
815814 if (ret < 0 )
816815 break ;
0 commit comments