summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/s5c73m3
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-01-09 16:55:43 +0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-04 11:52:48 +0400
commit7e8f15c5aa9b8021ee933336f3e055f279482051 (patch)
tree331ba060eb30b0164a869c212f88f36b3a251ff4 /drivers/media/i2c/s5c73m3
parentc29b8f3149f2916e98fc3b8d6c1df2137d003979 (diff)
downloadlinux-7e8f15c5aa9b8021ee933336f3e055f279482051.tar.xz
[media] s5k5baf: allow to handle arbitrary long i2c sequences
Using variable length array in s5k5baf_write_arr_seq caused an implicit assumption that i2c sequences should be short. The patch rewrites the function so it can handle sequences of any length and does not use variable length array. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/i2c/s5c73m3')
0 files changed, 0 insertions, 0 deletions