usb: mtk-xhci: Do not explicitly set the DMA mask
authorTomasz Figa <tfiga@chromium.org>
Thu, 19 Dec 2019 09:39:54 +0000 (18:39 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 30 Dec 2019 19:11:31 +0000 (20:11 +0100)
commit5311f88e07ce83ea529a6a84716cbe32e8db2b6a
treea6a1058e0158175338233dc744102a052d8555e9
parentc4a68b4da65ad388bbe3c3791f60655c4dd81173
usb: mtk-xhci: Do not explicitly set the DMA mask

The mtk-xhci platform glue sets the DMA mask to 32 bits on its own,
which was needed before commit fda182d80a0b ("usb: xhci: configure
32-bit DMA if the controller does not support 64-bit DMA"), but now it
has no effect, because xhci_gen_setup() sets it up for us according to
hardware capabilities. Remove the useless code.

Signed-off-by: Tomasz Figa <tfiga@chromium.org>
Link: https://lore.kernel.org/r/20191219093954.163417-1-tfiga@chromium.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mtk.c