xhci: Remove more doorbell-related reads
authorMatthew Wilcox <matthew@wil.cx>
Wed, 15 Dec 2010 19:18:11 +0000 (14:18 -0500)
committerSarah Sharp <sarah.a.sharp@linux.intel.com>
Fri, 14 Jan 2011 23:52:00 +0000 (15:52 -0800)
commit50d64676d132a8a72a1a1657d7b3e6efa53da1ac
treeb2c5b85f15e4068d29fd41d2e6e65f81dd7339d5
parent7961acd7327fe48e55abef277630abdbb3f2081a
xhci: Remove more doorbell-related reads

The unused space in the doorbell is now marked as RsvdZ, not RsvdP, so
we can avoid reading the doorbell before writing it.

Update the doorbell-related defines to produce the entire doorbell value
from a single macro.  Document the doorbell format in a comment.

Signed-off-by: Matthew Wilcox <willy@linux.intel.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
drivers/usb/host/xhci-ring.c
drivers/usb/host/xhci.h