提交 ecf4f823 编写于 作者: P Pawel Laszczak 提交者: Felipe Balbi

usb: cnds3: drd: deleted !=

Patch deletes unnecessary != from condition statement in cdns3_drd_init
function.
Reviewed-by: NPeter Chen <peter.chen@nxp.com>
Signed-off-by: NPawel Laszczak <pawell@cadence.com>
Signed-off-by: NFelipe Balbi <balbi@kernel.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册