From: Sebastian Andrzej Siewior Date: Tue, 30 Oct 2012 18:52:23 +0000 (+0100) Subject: usb: musb: read MUSB_POWER register only when required. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~61^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b11e94d03726c5dbee0d9a841a025313504e90f4;p=pandora-kernel.git usb: musb: read MUSB_POWER register only when required. This is part of the workaround for AM35x advisory Advisory 1.1.20. The advisory says that the IPSS bridge can't handle 8 & 16 bit read access. An 8bit read access to MUSB_POWER results in an 32bit read access which also reads INTRTX and therefore may lose interrupts. This patch tries to minimize reads to MUSB_POWER and perform them only when required. Signed-off-by: Sebastian Andrzej Siewior Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed