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)
commit7037e101b648f8534119733e0aba215097ecd4d4
treeae0120bad84476958f056b31289328f8424fc8e3
parent644139f8b64d818f6345351455f14471510879a5
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