commit | d832c5b28aff3c9aadfbde3002b640058eee6294 | [log] [tgz] |
---|---|---|
author | Frank Schaefer <fschaefer.oss@googlemail.com> | Sun Mar 03 15:37:41 2013 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 04 16:21:34 2013 -0300 |
tree | 4bc34cf5f153cf34be27c26002263662a3ee3fce | |
parent | 87b52439cff4a8b745f419b9e99fa68a5533c342 [diff] |
[media] em28xx: add helper function for reading data blocks from i2c clients Add a helper function for reading data blocks from i2c devices with 8 or 16 bit address width and 8 bit register width. This allows us to reduce the size of new code added by the following patches. Works only for devices with activated register auto incrementation. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>