[media] solo6x10: The size of the thresholds ioctls was too large
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 29 Mar 2013 10:20:36 +0000 (07:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Mar 2013 11:34:23 +0000 (08:34 -0300)
commit9e7664e0827528701074875eef872f2be1dfaab8
tree4b8e1416140dd578d75115c9133640679beba127
parent4b0cac5e759552a24dbdc940db268601422d5b0a
[media] solo6x10: The size of the thresholds ioctls was too large

On powerpc the maximum size for the ioctl argument is 8191, and it was
8192. However, the 64x64 array of threshold values is more than is actually
needed in practice for PAL and NTSC formats. A 45x45 array will do just fine.
So change the size accordingly to fix this problem.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/solo6x10/solo6x10-disp.c
drivers/staging/media/solo6x10/solo6x10.h