]> git.karo-electronics.de Git - linux-beck.git/commit
musb: sunxi: Add support for platform_set_mode
authorHans de Goede <hdegoede@redhat.com>
Tue, 13 Sep 2016 02:48:32 +0000 (21:48 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Sep 2016 15:20:02 +0000 (17:20 +0200)
commit7cba17ec9adc8cf6c7e165adc831b4a73570a898
treeb5f6c3050b5e070ae7deba5f54e182e1db291a5d
parent65b3f50ed6fa121f2f8f0cb51c49bf038016ab46
musb: sunxi: Add support for platform_set_mode

This allows run-time dr_mode switching support via the "mode" musb
sysfs attribute.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/sunxi.c