]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: debugfs: fix off by one when entering testmode
authorGerard Cauvy <g-cauvy1@ti.com>
Fri, 10 Feb 2012 10:14:53 +0000 (12:14 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 10 Feb 2012 10:14:53 +0000 (12:14 +0200)
commit77e9c0995a163a04d41e15bce4dc2b8132a9180f
tree068f4c7c274484d994b3eb68ad1bb9ff467e7c66
parent4515c4733e4f9d8fe6c675c1326195da799b535b
usb: dwc3: debugfs: fix off by one when entering testmode

When implementing the USB2 testmode support via debugfs,
Felipe has committed a mistake when counting the number
of letters of some of the strings, resulting on an off
by one error which prevented some of the Test modes to
be entered properly.

This patch, fixes that mistake.

Signed-off-by: Gerard Cauvy <g-cauvy1@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/debugfs.c