]> git.baikalelectronics.ru Git - kernel.git/commit
V4L/DVB (7296): pvrusb2: Define device attributes for all input modes
authorMike Isely <isely@pobox.com>
Tue, 22 Apr 2008 17:45:36 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:46 +0000 (14:07 -0300)
commitc7e37b01d9998b564959304b2a8474bf22f6c429
treef871a94325c94b1895a1ef357d0f233ec0cbed5d
parentdab63a80482594cfde12c48a9b5fa420bd745d1a
V4L/DVB (7296): pvrusb2: Define device attributes for all input modes

Different devices support different input types.  Up until now we've
really been assuming that everyone has an analog tuner, an FM radio,
composite, and s-video inputs.  But as we add other devices, these
assumptions are no longer true.  The way to deal with this is to
define the available inputs as additional device attributes, so that
the driver can adjust its internal behavior accordingly.

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