]> git.karo-electronics.de Git - karo-tx-linux.git/commit
V4L/DVB (7297): pvrusb2: Dynamically control range of input selections
authorMike Isely <isely@pobox.com>
Tue, 22 Apr 2008 17:45:37 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:46 +0000 (14:07 -0300)
commit29bf5b1d754a9a64f68c37938e1a0b7b63b724ba
treeb87e6218fcfbad0bfa023b0681cac960f6b8bfa4
parent1aaac60fec0d3ba8043838c6eac86de987cfe5c1
V4L/DVB (7297): pvrusb2: Dynamically control range of input selections

This follows from defining the available inputs as device attributes.
This change causes the driver to adjust its list of inputs based on
those attributes.  Now, for example, the FM radio will appear as a
choice only if the hardware supports an FM radio.

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/pvrusb2/pvrusb2-hdw.c
drivers/media/video/pvrusb2/pvrusb2-hdw.h