This patch series contains some I2C bug fixes / cleanups / unifications and improvements for the em28xx driver, which I've made while working on adding support for the em25xx/em276x i2c bus B support and playing with the Terratec Cinergy 200 USB which I've got recently. Patches 1 and 5 are cleanup/unification patches, patches 2, 3, 4 fix some bugs. Patch 3 actually fixes 2 bugs, but separate commits didn't make sense, because more or less the whole function had to be rewritten. Changelog v2: - removed i2c address type/range check from patch 5 as requested by Antti Palosaari Frank Schäfer (5): em28xx: clean up the data type mess of the i2c transfer function parameters em28xx: respect the message size constraints for i2c transfers em28xx: fix two severe bugs in function em2800_i2c_recv_bytes() em28xx: fix the i2c adapter functionality flags em28xx: fix+improve+unify i2c error handling, debug messages and code comments drivers/media/usb/em28xx/em28xx-core.c | 5 +- drivers/media/usb/em28xx/em28xx-i2c.c | 276 +++++++++++++++++++------------- drivers/media/usb/em28xx/em28xx.h | 2 +- 3 Dateien geändert, 168 Zeilen hinzugefügt(+), 115 Zeilen entfernt(-) -- 1.7.10.4 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html