summaryrefslogtreecommitdiff
path: root/drivers/usb/renesas_usbhs
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2015-10-09 13:30:08 +0300
committerSasha Levin <sasha.levin@oracle.com>2016-02-15 15:45:33 -0500
commit1c0232f6415b1c1c89f71fd3d98e2b497eaf988b (patch)
treee5e6d4614051b56852f4caafa56b28d361898822 /drivers/usb/renesas_usbhs
parent23159bb315f95c245ccfa9a248f8ecb786dbdc1e (diff)
xhci: create one unified function to calculate TRB TD remainder.
[ Upstream commit c840d6ce772d47c777070ca4bbbfbf21d8d727a3 ] xhci versions 1.0 and later report the untransferred data remaining in a TD a bit differently than older hosts. We used to have separate functions for these, and needed to check host version before calling the right function. Now Mediatek host has an additional quirk on how it uses the TD Size field for remaining data. To prevent yet another function for calculating remainder we instead want to make one quirk friendly unified function. Tested-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs')
0 files changed, 0 insertions, 0 deletions