diff options
| author | Tony Lindgren <[email protected]> | 2018-05-31 17:05:38 +0000 |
|---|---|---|
| committer | Kishon Vijay Abraham I <[email protected]> | 2018-06-29 06:30:22 +0000 |
| commit | ad5003300b077bf1af15e667097b3b1f73288177 (patch) | |
| tree | 40ac0853d01c10bbb568225eb1012098d6c30756 /lib/debugobjects.c | |
| parent | phy: phy-brcm-usb-init: Fix power down USB 3.0 PHY when XHCI reenabled (diff) | |
| download | kernel-ad5003300b077bf1af15e667097b3b1f73288177.tar.gz kernel-ad5003300b077bf1af15e667097b3b1f73288177.zip | |
phy: mapphone-mdm6600: Fix wrong enum used for status lines
Kbuilt test robot reported:
drivers/phy/motorola/phy-mapphone-mdm6600.c:188:16: warning: is used
uninitialized in this function [-Wuninitialized]
val |= values[i] << i;
~~~~~~^~~
Looking at the phy_mdm6600_status() values does get initialized by
gpiod_get_array_value_cansleep(), but we are using wrong enum
in that function. Let's fix the use, both end up being three though
so urgent rush on this one AFAIK.
Fixes: 5d1ebbda0318 ("phy: mapphone-mdm6600: Add USB PHY driver for
MDM6600 on Droid 4")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Tony Lindgren <[email protected]>
Reviewed-by: Pavel Machek <[email protected]>
Signed-off-by: Kishon Vijay Abraham I <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
