diff options
author | Andiry Xu <andiry.xu@amd.com> | 2012-03-05 17:49:40 +0800 |
---|---|---|
committer | Sarah Sharp <sarah.a.sharp@linux.intel.com> | 2012-03-13 09:30:44 -0700 |
commit | 085deb16845ee0b25385274b39c70cc07e6e4140 (patch) | |
tree | 7e08185fde1567ba14095f4bebe7a9c5c7fd1d36 /drivers/usb/host/xhci.c | |
parent | 2fdcd47b6980f4e26a97811a17f5be7cb919ef90 (diff) | |
download | op-kernel-dev-085deb16845ee0b25385274b39c70cc07e6e4140.zip op-kernel-dev-085deb16845ee0b25385274b39c70cc07e6e4140.tar.gz |
xHCI: check enqueue pointer advance into dequeue seg
When a urb is submitted to xHCI driver, check if queueing the urb will make
the enqueue pointer advance into dequeue seg and expand the ring if it
occurs. This is to guarantee the safety of ring expansion.
Signed-off-by: Andiry Xu <andiry.xu@amd.com>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Tested-by: Paul Zimmerman <Paul.Zimmerman@synopsys.com>
Diffstat (limited to 'drivers/usb/host/xhci.c')
0 files changed, 0 insertions, 0 deletions