summaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/v4l2-framework.txt
diff options
context:
space:
mode:
authorJames Hogan2014-03-13 11:29:22 +0100
committerMauro Carvalho Chehab2014-03-14 13:49:45 +0100
commitb9e28d1f8301d6e393b8937282f325f13fb9cf6a (patch)
tree38febef78bfda488950b5357f7560299d1ecc262 /Documentation/video4linux/v4l2-framework.txt
parent[media] rc: img-ir: jvc: Remove unused no-leader timings (diff)
downloadkernel-qcow2-linux-b9e28d1f8301d6e393b8937282f325f13fb9cf6a.tar.gz
kernel-qcow2-linux-b9e28d1f8301d6e393b8937282f325f13fb9cf6a.tar.xz
kernel-qcow2-linux-b9e28d1f8301d6e393b8937282f325f13fb9cf6a.zip
[media] rc: img-ir: hw: Fix min/max bits setup
The calculated values for the minlen and maxlen fields, which were rounded to multiples of 2 and clamped to a valid range, were left unused. Use them in the calculation of the register value rather than using the raw input minlen and maxlen. This fixes the following warning with a W=1 build: drivers/media/rc/img-ir/img-ir-hw.c In function ‘img_ir_free_timing’: drivers/media/rc/img-ir/img-ir-hw.c +228 :23: warning: variable ‘maxlen’ set but not used [-Wunused-but-set-variable] drivers/media/rc/img-ir/img-ir-hw.c +228 :15: warning: variable ‘minlen’ set but not used [-Wunused-but-set-variable] Reported-by: Mauro Carvalho Chehab <m.chehab@samsung.com> Signed-off-by: James Hogan <james.hogan@imgtec.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/video4linux/v4l2-framework.txt')
0 files changed, 0 insertions, 0 deletions