File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -591,8 +591,7 @@ static int rockchip_sfc_probe(struct platform_device *pdev)
591
591
return PTR_ERR (sfc -> hclk );
592
592
}
593
593
594
- sfc -> use_dma = !of_property_read_bool (sfc -> dev -> of_node ,
595
- "rockchip,sfc-no-dma" );
594
+ sfc -> use_dma = !of_property_read_bool (sfc -> dev -> of_node , "rockchip,sfc-no-dma" );
596
595
597
596
if (sfc -> use_dma ) {
598
597
ret = dma_set_mask_and_coherent (dev , DMA_BIT_MASK (32 ));
@@ -602,8 +601,7 @@ static int rockchip_sfc_probe(struct platform_device *pdev)
602
601
}
603
602
604
603
sfc -> buffer = dmam_alloc_coherent (dev , SFC_MAX_IOSIZE_VER3 ,
605
- & sfc -> dma_buffer ,
606
- GFP_KERNEL );
604
+ & sfc -> dma_buffer , GFP_KERNEL );
607
605
if (!sfc -> buffer )
608
606
return - ENOMEM ;
609
607
}
@@ -629,7 +627,6 @@ static int rockchip_sfc_probe(struct platform_device *pdev)
629
627
0 , pdev -> name , sfc );
630
628
if (ret ) {
631
629
dev_err (dev , "Failed to request irq\n" );
632
-
633
630
goto err_irq ;
634
631
}
635
632
You can’t perform that action at this time.
0 commit comments