]> git.baikalelectronics.ru Git - kernel.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)
commit1e80f6c2f13e0653e1b13ba9ba04faafc604a014
treeb87e6218fcfbad0bfa023b0681cac960f6b8bfa4
parentc7e37b01d9998b564959304b2a8474bf22f6c429
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