commit | 825b30c4f37bd4a6846916a18379dcd211ea3fbf | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Mon Jan 04 17:08:46 2021 +0200 |
committer | Oded Gabbay <ogabbay@kernel.org> | Wed Jan 27 21:03:50 2021 +0200 |
tree | 90fe5b52af700c25d321612998886852c2efc516 | |
parent | 423815bf02e257091d5337be5c63b57fc29e4254 [diff] |
habanalabs: Use 'dma_set_mask_and_coherent()' Axe 'hl_pci_set_dma_mask()' and replace it with an equivalent 'dma_set_mask_and_coherent()' call. This makes the code a bit less verbose. It also removes an erroneous comment, because 'hl_pci_set_dma_mask()' does not try to use a fall-back value. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Reviewed-by: Oded Gabbay <ogabbay@kernel.org> Signed-off-by: Oded Gabbay <ogabbay@kernel.org>