phy: rockchip-inno-usb2: fix a clang warning

This patch fix the following clang warning:
[clang] drivers/phy/rockchip/phy-rockchip-inno-usb2.c:1458:2:
warning: 3rd function call argument is an uninitialized value

Change-Id: Ia4a556da346323e5bc081ff1bbf267911fcdc645
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
William Wu 2018-03-26 20:11:06 +08:00
parent 893c85ad32
commit 61afbad657

View File

@ -1436,7 +1436,7 @@ static irqreturn_t rockchip_usb2phy_id_irq(int irq, void *data)
{
struct rockchip_usb2phy_port *rport = data;
struct rockchip_usb2phy *rphy = dev_get_drvdata(rport->phy->dev.parent);
bool cable_vbus_state;
bool cable_vbus_state = false;
if (!property_enabled(rphy, &rport->port_cfg->idfall_det_st) &&
!property_enabled(rphy, &rport->port_cfg->idrise_det_st))