summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2014-01-09 13:55:43 +0100
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-02-04 08:52:48 +0100
commit7e8f15c5aa9b8021ee933336f3e055f279482051 (patch)
tree331ba060eb30b0164a869c212f88f36b3a251ff4 /drivers/media/platform
parentMerge tag 'v3.14-rc1' into patchwork (diff)
downloadlinux-7e8f15c5aa9b8021ee933336f3e055f279482051.tar.xz
linux-7e8f15c5aa9b8021ee933336f3e055f279482051.zip
[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/platform')
0 files changed, 0 insertions, 0 deletions