From: Felipe Balbi Date: Thu, 11 Oct 2012 10:54:36 +0000 (+0300) Subject: usb: dwc3: core: move event buffer allocation out of dwc3_core_init() X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~60^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3921426b13b1e0b2db6872a8d22d9fe2a4afe332;p=pandora-kernel.git usb: dwc3: core: move event buffer allocation out of dwc3_core_init() This patch is in preparation for adding PM support dwc3 driver. We want to re-use dwc3_core_init and dwc3_core_exit() functions on resume() and suspend() callbacks respectively. Moving even buffer allocation away from dwc3_core_init() will allow us to reuse the event buffer which was allocated long ago on our probe() routine. Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed