Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1702880 > unrolled thread
| Started by | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| First post | 2017-08-03 12:10 +0200 |
| Last post | 2017-08-03 12:10 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: qtnfmac: Tidy up DMA mask setting Kalle Valo <kvalo@codeaurora.org> - 2017-08-03 12:10 +0200
| From | Kalle Valo <kvalo@codeaurora.org> |
|---|---|
| Date | 2017-08-03 12:10 +0200 |
| Subject | Re: qtnfmac: Tidy up DMA mask setting |
| Message-ID | <ualeP-6Uy-29@gated-at.bofh.it> |
Robin Murphy <robin.murphy@arm.com> wrote: > As the only caller of dma_supported() outside of DMA API internals, the > qtfnmac driver stands out and invites scrutiny. Thankfully, it's not > being used for evil, but it is entirely redundant, since it open-codes a > check that the DMA mask setting functions are going to perform anyway. > In fact, the whole qtnf_pcie_init_dma_mask() function is nothing more > than a rather long-winded implementation of dma_set_mask_and_coherent(), > so let's just use that directly. > > Signed-off-by: Robin Murphy <robin.murphy@arm.com> > Acked-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Patch applied to wireless-drivers-next.git, thanks. 13cb8a5845ff qtnfmac: Tidy up DMA mask setting -- https://patchwork.kernel.org/patch/9859961/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Back to top | Article view | linux.kernel
csiph-web