diff options
author | Kuninori Morimoto | 2011-11-24 17:28:35 -0800 |
---|---|---|
committer | Felipe Balbi | 2011-12-12 11:45:20 +0200 |
commit | dfbb7f4fba47153de4be9ed6092804ebfd16bfbb (patch) | |
tree | cb47162177ef2c2916f50a7e46ec500f49b5e807 /drivers/usb/renesas_usbhs/common.c | |
parent | 91b158f4d11164bfe5710873c8e162cf8c8d132b (diff) |
usb: renesas_usbhs: add test-mode support
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/renesas_usbhs/common.c')
-rw-r--r-- | drivers/usb/renesas_usbhs/common.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index 016a34f58523..32a879fb0e36 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -132,6 +132,11 @@ void usbhs_sys_function_ctrl(struct usbhs_priv *priv, int enable) usbhs_bset(priv, SYSCFG, mask, enable ? val : 0); } +void usbhs_sys_set_test_mode(struct usbhs_priv *priv, u16 mode) +{ + usbhs_write(priv, TESTMODE, mode); +} + /* * frame functions */ |