diff options
author | Andy Walls <awalls@md.metrocast.net> | 2010-12-05 23:42:30 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-01-03 12:08:16 +0100 |
commit | f23b7952d37c69c0caa6c8dfb85dbf2eb9e5fcaa (patch) | |
tree | 813fda00f48aeafbd785d494d8c1ae8c660f6f5a /include/media/wm8775.h | |
parent | Linux 2.6.37-rc8 (diff) | |
download | linux-f23b7952d37c69c0caa6c8dfb85dbf2eb9e5fcaa.tar.xz linux-f23b7952d37c69c0caa6c8dfb85dbf2eb9e5fcaa.zip |
[media] cx25840: Prevent device probe failure due to volume control ERANGE error
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions