mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
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:
parent
893c85ad32
commit
61afbad657
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user