From: Chris Ruehl Date: Fri, 6 Dec 2013 08:35:12 +0000 (+0800) Subject: usb: chipidea: Reallocate regmap only if lpm is detected X-Git-Tag: v3.14-rc1~148^2~130^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeb2c1210d71c00a4b59d343b0a7df6b1059eb89;p=pandora-kernel.git usb: chipidea: Reallocate regmap only if lpm is detected The regmap only needs to reallocate if the hw_read on the CAP register shows lpm is used. Therefore the if() statement check the change. Signed-off-by: Chris Ruehl Signed-off-by: Peter Chen Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed