diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-25 01:28:35 (GMT) |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-12-12 09:45:20 (GMT) |
commit | dfbb7f4fba47153de4be9ed6092804ebfd16bfbb (patch) | |
tree | cb47162177ef2c2916f50a7e46ec500f49b5e807 /drivers/usb/renesas_usbhs/common.c | |
parent | 91b158f4d11164bfe5710873c8e162cf8c8d132b (diff) | |
download | linux-dfbb7f4fba47153de4be9ed6092804ebfd16bfbb.tar.xz |
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 016a34f..32a879f 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 */ |