diff options
| author | Mats Randgaard <matrandg@cisco.com> | 2015-12-10 16:38:07 +0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-02-01 13:02:53 +0300 |
| commit | fcae73fac1b45053766c92f08fb3afee6d30dbbc (patch) | |
| tree | fcb713b767b7f0cf8987a0e07b75f30198f10582 /include/uapi/linux/module.h | |
| parent | 8e20b80344148dd8b7ec23d546e931d54810a1b7 (diff) | |
| download | linux-fcae73fac1b45053766c92f08fb3afee6d30dbbc.tar.xz | |
[media] tc358743: Use local array with fixed size in i2c write
i2c_wr() is called from ops and the interrupt service routine, while
state->wr_data is shared and unprotected, and could be overwritten.
This shared buffer is therefore replaced with a local array with fixed
size. The array has the size of one EDID block (128 bytes) + 2 bytes
i2c address, and the EDID is written block by block (up to 8 blocks).
Signed-off-by: Mats Randgaard <matrandg@cisco.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/uapi/linux/module.h')
0 files changed, 0 insertions, 0 deletions
