From: Gregory Herrero Date: Fri, 9 Jan 2015 12:39:06 +0000 (+0100) Subject: usb: dwc2: gadget: reset fifo_map when initializing fifos X-Git-Tag: omap-for-v4.1/prcm-dts-mfd-syscon-fix~86^2^2~117 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7fcbc95c1fa4d6e3f4645f9552d358f07ab93ad1;p=pandora-kernel.git 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 Acked-by: Paul Zimmerman Signed-off-by: Gregory Herrero Signed-off-by: Mian Yousaf Kaukab Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed