i2c: i2c-diolan-u2c: different usb endpoints for DLN-2-U2C
authorMartin Vogt <mvogt1@gmail.com>
Sun, 24 Nov 2013 14:57:23 +0000 (15:57 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Tue, 26 Nov 2013 12:49:33 +0000 (13:49 +0100)
The previous diolan adapter uses other out/in endpoints than
the current DLN-2-U2C in compatibility mode.
They changed from 0x2/0x84 to 0x3/0x83.
This patch gets the endpoints from the usb interface, instead
of hardcode them in the driver.

This was tested on a current DLN-2-U2C board.

Signed-off-by: Martin Vogt <mvogt1@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>

No differences found