aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/host/xhci-plat.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 09:20:49 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-25 09:20:49 +0100
commit692665c621bb73f298d37bf6c6dad47ef94a5c2b (patch)
treee8a304fb67125cbae6403434edc424b77efcaf97 /drivers/usb/host/xhci-plat.c
parentdt-bindings: mt8173-mtu3: add reference clock (diff)
parentLinux 4.10-rc5 (diff)
downloadwireguard-linux-692665c621bb73f298d37bf6c6dad47ef94a5c2b.tar.xz
wireguard-linux-692665c621bb73f298d37bf6c6dad47ef94a5c2b.zip
Merge 4.10-rc5 into usb-next
We need the USB fixes in here as well to handle future merge issues and dependancies. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-plat.c')
-rw-r--r--drivers/usb/host/xhci-plat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index f96caeb4baab..c0cd98e804a3 100644
--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -165,7 +165,7 @@ static int xhci_plat_probe(struct platform_device *pdev)
return -ENODEV;
/* Try to set 64-bit DMA first */
- if (WARN_ON(!pdev->dev.dma_mask))
+ if (!pdev->dev.dma_mask)
/* Platform did not initialize dma_mask */
ret = dma_coerce_mask_and_coherent(&pdev->dev,
DMA_BIT_MASK(64));