Commit ecf4f823 authored by Pawel Laszczak's avatar Pawel Laszczak Committed by Felipe Balbi

usb: cnds3: drd: deleted !=

Patch deletes unnecessary != from condition statement in cdns3_drd_init
function.
Reviewed-by: default avatarPeter Chen <peter.chen@nxp.com>
Signed-off-by: default avatarPawel Laszczak <pawell@cadence.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
parent 27afe166
......@@ -365,7 +365,7 @@ int cdns3_drd_init(struct cdns3 *cdns)
}
state = readl(&cdns->otg_regs->sts);
if (OTGSTS_OTG_NRDY(state) != 0) {
if (OTGSTS_OTG_NRDY(state)) {
dev_err(cdns->dev, "Cadence USB3 OTG device not ready\n");
return -ENODEV;
}
......
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