* [PATCH] ath11k: Removed the redundant function call in ahb probe
@ 2019-06-10 9:34 Karthikeyan Periyasamy
2019-06-12 11:09 ` Kalle Valo
0 siblings, 1 reply; 2+ messages in thread
From: Karthikeyan Periyasamy @ 2019-06-10 9:34 UTC (permalink / raw)
To: ath11k; +Cc: Karthikeyan Periyasamy
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 <periyasa@codeaurora.org>
---
drivers/net/wireless/ath/ath11k/ahb.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/drivers/net/wireless/ath/ath11k/ahb.c b/drivers/net/wireless/ath/ath11k/ahb.c
index b97d4d3..c3e487a 100644
--- a/drivers/net/wireless/ath/ath11k/ahb.c
+++ b/drivers/net/wireless/ath/ath11k/ahb.c
@@ -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");
--
1.9.1
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] ath11k: Removed the redundant function call in ahb probe
2019-06-10 9:34 [PATCH] ath11k: Removed the redundant function call in ahb probe Karthikeyan Periyasamy
@ 2019-06-12 11:09 ` Kalle Valo
0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2019-06-12 11:09 UTC (permalink / raw)
To: Karthikeyan Periyasamy; +Cc: ath11k
Karthikeyan Periyasamy <periyasa@codeaurora.org> wrote:
> 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 <periyasa@codeaurora.org>
> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Patch applied to ath11k-bringup branch of ath.git, thanks.
430b444a45f9 ath11k: Removed the redundant function call in ahb probe
--
https://patchwork.kernel.org/patch/10984575/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
_______________________________________________
ath11k mailing list
ath11k@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/ath11k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-12 11:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-10 9:34 [PATCH] ath11k: Removed the redundant function call in ahb probe Karthikeyan Periyasamy
2019-06-12 11:09 ` Kalle Valo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.