diff options
| author | 2017-07-24 18:41:30 +0100 | |
|---|---|---|
| committer | 2017-08-03 13:00:54 +0300 | |
| commit | 13cb8a5845ff1a1fe1644bbae9790b557ac69bdb (patch) | |
| tree | 27f7aabf81106869cf3447172dc5112878d871ee /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | qtnfmac: prepare for AP_VLAN interface type support (diff) | |
qtnfmac: Tidy up DMA mask setting
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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
