ath11k: Removed the redundant function call in ahb probe
PATCH 1/1 ath11k: Removed the redundant function call in ahb probe
Removed dma_set_mask() call in ath11k_ahb_probe() because dma_set_mask_and_coherent() call will do both dma and coherent mask set
Signed-off-by Karthikeyan Periyasamy <[email protected]>
--- drivers/net/wireless/ath/ath11k/ahb.c | 6 ------ 1 file changed, 6 deletions(-)
drivers/net/wireless/ath/ath11k/ahb.c +0 -6
@@ -945,12 +945,6 @@ static int ath11k_ahb_probe(struct platform_device *pdev)return PTR_ERR (mem); } - ret =dma_set_mask (&pdev->dev,DMA_BIT_MASK (32 )); -if (ret) { -dev_err (&pdev->dev,"failed to set 32-bit dma mask\n" ); -return ret; - } - ret =dma_set_mask_and_coherent (&pdev->dev,DMA_BIT_MASK (32 ));if (ret) {dev_err (&pdev->dev,"failed to set 32-bit consistent dma\n" );
Signature · 7 lines
1.9.1 _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k
Quoted 6 lines · Karthikeyan Periyasamy
Removed
dma_set_mask()call inath11k_ahb_probe()becausedma_set_mask_and_coherent()call will do both dma and coherent mask setSigned-off-by Karthikeyan Periyasamy <[email protected]>Signed-off-by Kalle Valo <[email protected]>
Patch applied to ath11k-bringup branch of ath.git, thanks.
430b444a45f9 ath11k: Removed the redundant function call in ahb probe
Signature · 9 lines
https://patchwork.kernel.org/patch/10984575/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list [email protected] http://lists.infradead.org/mailman/listinfo/ath11k