usb: musb: mediatek: Expose role-switch control to userspace
authorSungbo Eo <mans0n@gorani.run>
Mon, 30 Aug 2021 15:59:03 +0000 (00:59 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 09:55:22 +0000 (11:55 +0200)
commit7042b10141542f56e1b4179a228aefa8a5ac3fab
treedb811e47b0d9e4c8ca8fcef3685e36c62b810420
parent6b0be25ca029469b5515119b96a6d684cf7d1e82
usb: musb: mediatek: 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.

Tested-by: Frank Wunderlich <frank-w@public-files.de>
Acked-by: Chunfeng Yun <chunfeng.yun@mediatek.com>
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Link: https://lore.kernel.org/r/20210830155903.13907-3-mans0n@gorani.run
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/mediatek.c