From: Martin Vogt Date: Sun, 24 Nov 2013 14:57:23 +0000 (+0100) Subject: i2c: i2c-diolan-u2c: different usb endpoints for DLN-2-U2C X-Git-Tag: v3.13-rc2~3^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e4844ccb13571cc58b25e2734f17e98a29256a5;p=pandora-kernel.git i2c: i2c-diolan-u2c: different usb endpoints for DLN-2-U2C 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 Reviewed-by: Guenter Roeck Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed