usb: phy: tegra: Correct definition of B_SESS_VLD_WAKEUP_EN bit
authorDmitry Osipenko <digetx@gmail.com>
Sun, 13 Jun 2021 14:59:36 +0000 (17:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 13:36:23 +0000 (15:36 +0200)
commit7917e90667bc8dce02daa3c2e6df47f6fc9481f7
treeb57a1a95c3e4dc8e49f12aa6992b06c67df23a66
parent6f8d39a8ef55efde414b6e574384acbce70c3119
usb: phy: tegra: Correct definition of B_SESS_VLD_WAKEUP_EN bit

The B_SESS_VLD_WAKEUP_EN bit 6 was added by a mistake in a previous
commit. This bit corresponds to B_SESS_END_WAKEUP_EN, which we don't use.
The B_VBUS_VLD_WAKEUP_EN doesn't exist at all and B_SESS_VLD_WAKEUP_EN
needs to be in place of it. We don't utilize B-sensors in the driver,
so it never was a problem, nevertheless let's correct the definition of
the bits.

Fixes: 35192007d28d ("usb: phy: tegra: Support waking up from a low power mode")
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210613145936.9902-2-digetx@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/phy/phy-tegra-usb.c