diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-27 18:55:34 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-27 19:02:35 +0200 |
commit | 7655e594945289b418af39f6669fea4666a7b520 (patch) | |
tree | e0f131575f723f77be29b04e3fc634db296460f6 /Documentation/devices.txt | |
parent | [media] IR: initialize ir_raw_event in few more drivers (diff) | |
download | linux-7655e594945289b418af39f6669fea4666a7b520.tar.xz linux-7655e594945289b418af39f6669fea4666a7b520.zip |
[media] af9015: Fix max I2C message size when used with tda18271
Changeset 1724c8fa7eb33d68898e060a08a8e6a88348b62f added an option to change
the maximum I2C size to 8 bytes. However, it forgot to replace the previous
usage at af9015 to use the newly defined macro value
(TDA18271_16_BYTE_CHUNK_INIT).
A latter changeset (e350d44fed8eb86a7192a579e3687fcd76a4645b) extended the
possible values for .small_i2c field and, instead of using a random sequence
of numbers, it used a number that makes more sense (e. g. the actual limit,
in terms of bytes).
However, as af9015 were using .small_i2c = 1, this become undefined, and the
restriction of a max size of 16 was gone.
While here, fix the reported msg size at tda18271-common.c.
Reported-by: Jiri Slaby <jirislaby@gmail.com>
Tested-by: Jiri Slaby <jirislaby@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/devices.txt')
0 files changed, 0 insertions, 0 deletions