]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: musb: debugfs: allow forcing host mode together with speed in testmode
authorPali Rohár <pali.rohar@gmail.com>
Thu, 2 Feb 2017 03:30:22 +0000 (21:30 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 3 Feb 2017 09:05:11 +0000 (10:05 +0100)
commit7eebe4ec412f9a392a59718ec9ab3eb4b4a34d92
treebbd5d67fcd29ac045b00a416c70c7e9091a67f83
parentbb1d1ce8c74ee967f578d5e4cae9b88d7344c12b
usb: musb: debugfs: allow forcing host mode together with speed in testmode

Based on the musb ug, force_host bit is allowed to be set along with
force_hs or force_fs bit.

It could help to implement forced host mode via testmode on Nokia N900.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/musb/musb_debugfs.c