Skip to content

Commit 07e5591

Browse files
pelwellpopcornmix
authored andcommitted
misc: rp1-pio: Minor cosmetic tweaks
No functional change. Signed-off-by: Phil Elwell <phil@raspberrypi.com>
1 parent 19368e9 commit 07e5591

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

drivers/misc/rp1-pio.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ static int rp1_pio_sm_config_xfer(struct rp1_pio_client *client, void *param)
683683
}
684684

685685
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)
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

759759
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)
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

Comments
 (0)