summaryrefslogtreecommitdiff
path: root/lib/ioremap.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2012-03-15 18:37:08 +0400
committerSarah Sharp <sarah.a.sharp@linux.intel.com>2012-04-11 19:28:37 +0400
commit4e833c0b87a30798e67f06120cecebef6ee9644c (patch)
tree9b6fb3df485609c9fff67703ec92551dee05ee07 /lib/ioremap.c
parenta46c46a1d752756ba159dd454b746a3fb735c4f5 (diff)
downloadlinux-4e833c0b87a30798e67f06120cecebef6ee9644c.tar.xz
xhci: don't re-enable IE constantly
While we're at that, define IMAN bitfield to aid readability. The interrupt enable bit should be set once on driver init, and we shouldn't need to continually re-enable it. Commit c21599a3 introduced a read of the irq_pending register, and that allows us to preserve the state of the IE bit. Before that commit, we were blindly writing 0x3 to the register. This patch should be backported to kernels as old as 2.6.36, or ones that contain the commit c21599a36165dbc78b380846b254017a548b9de5 "USB: xhci: Reduce reads and writes of interrupter registers". Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'lib/ioremap.c')
0 files changed, 0 insertions, 0 deletions