https://github.com/torvalds/linux
Revision f23b7952d37c69c0caa6c8dfb85dbf2eb9e5fcaa authored by Andy Walls on 05 December 2010, 22:42:30 UTC, committed by Mauro Carvalho Chehab on 03 January 2011, 11:08:16 UTC
This patch fixes a regression that crept into 2.6.36.

The volume control scale in the cx25840 driver has an unusual mapping
from register values to v4l2 volume control values.  Enforce the mapping
limits, so that the default volume control setting does not fall out of
bounds to prevent the cx25840 module device probe from failing.

Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Cc: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
1 parent 387c31c
History
Tip revision: f23b7952d37c69c0caa6c8dfb85dbf2eb9e5fcaa authored by Andy Walls on 05 December 2010, 22:42:30 UTC
[media] cx25840: Prevent device probe failure due to volume control ERANGE error
Tip revision: f23b795
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 178.7 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top