diff options
author | Gregory Herrero <gregory.herrero@intel.com> | 2015-01-09 15:39:06 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-01-13 00:34:41 +0300 |
commit | 7fcbc95c1fa4d6e3f4645f9552d358f07ab93ad1 (patch) | |
tree | 609e6a22434d53aaeb54afe4741a9ca9f0efa929 /block | |
parent | 4556e12c9cf732343224308866dad2a12887dcd6 (diff) | |
download | linux-7fcbc95c1fa4d6e3f4645f9552d358f07ab93ad1.tar.xz |
usb: dwc2: gadget: reset fifo_map when initializing fifos
After all endpoints are disabled, fifo_map should have reached 0.
Its a bug if if didn't, so warn about it and reset it to 0 so that
driver can continue using all the fifos.
Tested-by: Robert Baldyga <r.baldyga@samsung.com>
Acked-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Gregory Herrero <gregory.herrero@intel.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kaukab@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions