]> git.baikalelectronics.ru Git - kernel.git/commit
USB: PHY: JZ4770: Fix static checker warning.
author周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Tue, 25 Aug 2020 08:16:54 +0000 (16:16 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Aug 2020 14:02:34 +0000 (16:02 +0200)
commitb33b272850ff8a4538bfe2d862fe403df7de969a
tree6b80cc9e75d4e45da846a3d09b0fbf5779cddf62
parent15d8d2311adc190caaa01ec74042d5de4d75fa90
USB: PHY: JZ4770: Fix static checker warning.

The commit 3f95dd87357d ("USB: PHY: JZ4770: Add support for new
Ingenic SoCs.") introduced the initialization function for different
chips, but left the relevant code involved in the resetting process
in the original function, resulting in uninitialized variable calls.

Fixes: 3f95dd87357d ("USB: PHY: JZ4770: Add support for new Ingenic SoCs.").
Signed-off-by: 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
Link: https://lore.kernel.org/r/20200825081654.18186-2-zhouyanjie@wanyeetech.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-jz4770.c