Commit a9f8ec4d authored by Hannes Eder's avatar Hannes Eder Committed by Greg Kroah-Hartman

USB: host: fix sparse warning: Using plain integer as NULL pointer

Fix this sparse warning:
 drivers/usb/host/oxu210hp-hcd.c:2687:42: warning: Using plain integer as NULL pointer
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 2dfa319a
......@@ -2684,7 +2684,7 @@ static int oxu_reset(struct usb_hcd *hcd)
oxu->urb_len = 0;
/* FIMXE */
hcd->self.controller->dma_mask = 0UL;
hcd->self.controller->dma_mask = NULL;
if (oxu->is_otg) {
oxu->caps = hcd->regs + OXU_OTG_CAP_OFFSET;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment