]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
usb: xhci-mtk: use dma_set_mask_and_coherent() in probe function
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Fri, 13 Oct 2017 08:26:33 +0000 (16:26 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 23 Oct 2017 09:29:40 +0000 (11:29 +0200)
commitda087419c05c0e2124dcdd6eda29e4ee64b78c9d
tree39edce43c5d97c6de8c88ac97c9482c220b50e5e
parentf2d13b02cd9647518b4397fc23fed971955ec945
usb: xhci-mtk: use dma_set_mask_and_coherent() in probe function

This patch uses the simpler dma_set_mask_and_coherent() instead of
doing these as separate steps

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c