]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9216): si470x: tuner->type handling
authorTobias Lorenz <tobias.lorenz@gmx.net>
Wed, 24 Sep 2008 22:30:26 +0000 (19:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 17 Oct 2008 20:21:50 +0000 (17:21 -0300)
commit33632d4773b8256c29525b7151cd74226352f838
tree6ce012949a25ad4f6b38900f9b78e90d2f27f917
parenteb6e3b860e36a3259d3694636ddce2660aabbd2c
V4L/DVB (9216): si470x: tuner->type handling

The V4L2 specification says, when to check and when to return
tuner->type as constant value.

This patch corrects exactly this behavior, so that it is now conform to
the V4L2 specification.

Signed-off-by: Tobias Lorenz <tobias.lorenz@gmx.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/radio/radio-si470x.c