linux-stable/drivers/usb/common
Fabrizio Castro 015e5c1761 usb: common: Consider only available nodes for dr_mode
commit 238e0268c8 upstream.

There are cases where multiple device tree nodes point to the
same phy node by means of the "phys" property, but we should
only consider those nodes that are marked as available rather
than just any node.

Fixes: 98bfb39466 ("usb: of: add an api to get dr_mode by the phy node")
Cc: stable@vger.kernel.org # v4.4+
Signed-off-by: Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-04-03 06:26:27 +02:00
..
Makefile usb: roles: Add a description for the class to Kconfig 2019-01-09 17:38:40 +01:00
common.c usb: common: Consider only available nodes for dr_mode 2019-04-03 06:26:27 +02:00
led.c
ulpi.c
usb-otg-fsm.c