]> git.baikalelectronics.ru Git - kernel.git/commit
b43legacy: simplify engine type / DMA mask selection
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 10:29:30 +0000 (12:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jun 2019 11:37:29 +0000 (14:37 +0300)
commit9b2e26f113ed9b1b00db863844bb279b0b52fded
tree00ea4f700e52e04e2d2ef5de1f03852e5889305f
parentdffdf8b626a369cf3e2cbb69b24bdeedfa8d9239
b43legacy: simplify engine type / DMA mask selection

Return the engine type from the function looking at the registers, and
just derive the DMA mask from that in the one place we care.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43legacy/dma.c