summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/tlv320aic23b.c
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2009-05-30 17:45:46 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2009-05-30 17:45:46 -0700
commitb0fc719e0220c50eb50f77552fc00b0adc11c5d0 (patch)
treed9c853f504871eb3003f249560bb761c6d28d65a /linux/drivers/media/video/tlv320aic23b.c
parent6c671f37ed7cd5bbe5c041761851f903361f8687 (diff)
downloadmediapointer-dvb-s2-b0fc719e0220c50eb50f77552fc00b0adc11c5d0.tar.gz
mediapointer-dvb-s2-b0fc719e0220c50eb50f77552fc00b0adc11c5d0.tar.bz2
w8968cf: Use v4l bounding/alignment function
From: Trent Piepho <xyzzy@speakeasy.org> The v4l function has a better algorithm for aligning image size. The existing code was casting pointers to u32 and to unsigned int into pointers to u16. This could mess up if someone passed in an image size greater than 65,535 and on big-endian platforms it won't work at all. The existing bounding code would shrink an image if it was too big, but returned ERANGE if it was too small. The code will not shrink or expand as necessary. Priority: normal Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/tlv320aic23b.c')
0 files changed, 0 insertions, 0 deletions