usb: mtu3: use force mode for dual role switch
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 8 Jun 2021 07:57:38 +0000 (15:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 13:43:50 +0000 (15:43 +0200)
commit13862176a3124e8d6f192e056dd0586e84b7d777
tree05d895f675258fddbc0a99447b962bb54cf1648c
parent6c7b9497622bd825c77fba776f5958a7aced7da2
usb: mtu3: use force mode for dual role switch

Force IDDIG status for all three ways of dual role switch, this
is needed when use Type-C to switch mode.

Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/1623139069-8173-13-git-send-email-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_dr.c
drivers/usb/mtu3/mtu3_host.c