]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc2: fix debugfs FIFO count
authorJohn Keeping <john@metanate.com>
Thu, 19 Dec 2019 11:34:32 +0000 (11:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2020 09:39:21 +0000 (10:39 +0100)
commitec46885f213d811e3867754a8da390eaf449cca2
treeae0120bad84476958f056b31289328f8424fc8e3
parent0d42139b453ecac2059f7c2f6f3c91108346c72f
usb: dwc2: fix debugfs FIFO count

The number of FIFOs may be lower than the number of endpoints.  Use the
correct total when printing FIFO details in debugfs.

Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: John Keeping <john@metanate.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/dwc2/debugfs.c