From: Mian Yousaf Kaukab Date: Mon, 29 Jun 2015 09:05:30 +0000 (+0200) Subject: usb: dwc2: embed storage for reg backup in struct dwc2_hsotg X-Git-Tag: omap-for-v4.3/fixes-merge-window~230^2~1^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cc1e204cb092da8495fe2c24bdc4543c259d6b34;p=pandora-kernel.git usb: dwc2: embed storage for reg backup in struct dwc2_hsotg Register backup function can be called from atomic context. Instead of using atomic memory pool, embed backup storage space in struct dwc2_hsotg. Also add a valid flag in each struct as NULL pointer can't be used as the content validity check any more. Acked-by: John Youn Tested-by: Heiko Stuebner Tested-by: Doug Anderson Signed-off-by: Mian Yousaf Kaukab Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed