]> git.baikalelectronics.ru Git - kernel.git/commit
usb: xhci: remove duplicate code of interval checking
authorAlexandr Ivanov <alexandr.sky@gmail.com>
Fri, 22 Apr 2016 10:17:11 +0000 (13:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 26 Apr 2016 23:08:02 +0000 (16:08 -0700)
commit93d0dc6b154255cdddd506533cb8faa337d3a044
tree98218276db0dc9ad1050dbb2ab9563ccda952848
parent7f21468251203f962bba6ed3bedc963530c9ce25
usb: xhci: remove duplicate code of interval checking

Move duplicate code from xhci_queue_intr_tx()
and xhci_queue_isoc_tx_prepare() to the check_interval() function.

Signed-off-by: Alexandr Ivanov <alexandr.sky@gmail.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