diff options
author | Alexandre Pereira da Silva <aletes.xgr@gmail.com> | 2012-10-15 09:47:35 -0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-10-16 13:11:27 +0300 |
commit | 69da85edbab5cd42909d3ba65b3dad1c1fb40206 (patch) | |
tree | 52a814804f81dedd443e5003a97d6bc6804bec76 /drivers/tty/serial/sccnxp.c | |
parent | d5c6a1e024dd5acd6ad2e1a6eb6a2fd5c15c50f1 (diff) | |
download | linux-69da85edbab5cd42909d3ba65b3dad1c1fb40206.tar.bz2 |
usb: gadget: lpc32xx_udc: Fix compatibility with STOTG04
The STOTG04 is an replacement for ISP1301.
Most of the registers on STOTG04 are the same as on ISP1301, but the
register ISP1301_I2C_OTG_CONTROL_2 (address 0x10) doesn't exist on the
ST part.
This is a work around for this by using the interrupt source register that
should behave the same on both parts and has the needed information.
Tested-by: Roland Stigge <stigge@antcom.de>
Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/tty/serial/sccnxp.c')
0 files changed, 0 insertions, 0 deletions