usb: mtu3: expose role-switch control to userspace
authorChunfeng Yun <chunfeng.yun@mediatek.com>
Mon, 17 Apr 2023 02:52:01 +0000 (10:52 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 09:17:05 +0000 (11:17 +0200)
commit976a5c256e34085207c0abf0941b5c967d8d1c18
tree0250619f9cbb25ff4a2dc16eb34954a49e808e88
parented50be81d536cdb25d00befe6ca21cd02f1c509d
usb: mtu3: expose role-switch control to userspace

The allow_userspace_control flag enables manual role switch from userspace,
turn this feature on like several other USB DRD controller drivers.

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Link: https://lore.kernel.org/r/20230417025203.18097-5-chunfeng.yun@mediatek.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/mtu3/mtu3_dr.c