]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: host: xhci: check for a valid ring when unmapping bounce buffer
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 23 Jan 2017 12:20:13 +0000 (14:20 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Jan 2017 09:59:06 +0000 (10:59 +0100)
commitf45e2a02112a1ed03925521c9f48e4bdc25c7032
tree06af319075af4bf9058b8e93b27ebcddb90d59c5
parentf3899a28e2b8a6f208187033789ac0f038d3c08e
usb: host: xhci: check for a valid ring when unmapping bounce buffer

This way we can remove checks for valid ring from call sites of
xhci_unmap_td_bounce_buffer()

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-ring.c