]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: mtu3: fix error of xhci port id when enable U3 dual role
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Wed, 29 Aug 2018 02:36:49 +0000 (10:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Sep 2018 11:27:07 +0000 (13:27 +0200)
commit78af87b8bbbbcaa613f1a7d8f14472fe9a7dc622
tree89f86d71d89f853541783ba2af2c8df1386146ec
parent42d1c6d4a06a77b3ab206a919b9050c3080f3a71
usb: mtu3: fix error of xhci port id when enable U3 dual role

If dual role mode is enabled, when switch u3port0 to device mode,
it will affect port id calculation of host(xHCI), specially when
host supports multi U2 ports or U3 ports, so need enable its dual
role mode, and fix it here.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_core.c
drivers/usb/mtu3/mtu3_hw_regs.h