usb: mtu3: rebuild role switch flow of extcon
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Tue, 8 Jun 2021 07:57:36 +0000 (15:57 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 15 Jun 2021 13:43:36 +0000 (15:43 +0200)
commit18cfd7b85cedfe51af8f19eef2768daa7648c798
treea2a70bb297459255d25c5de00ea30f98ba94ad02
parenta04c9f2d5dba6debe9897ab01f56549961c58fbb
usb: mtu3: rebuild role switch flow of extcon

This is a preparation patch to plan to use the same work to
handle role switch for all three supported ways.

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