V4L/DVB (8898): pvrusb2: Be able to programmatically retrieve a control's default...
authorMike Isely <isely@pobox.com>
Sun, 31 Aug 2008 23:55:03 +0000 (20:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Oct 2008 11:36:57 +0000 (09:36 -0200)
commit26dd1c57a05f5c6d339d55d5317d47576fd2fbc5
treeb1aebbbc3f6701c6caa718cfc92d91b657cf7433
parent755879c66bb820ec27e2e02b22b13d3896583efe
V4L/DVB (8898): pvrusb2: Be able to programmatically retrieve a control's default value

The pvrusb2 control mechanism up until now has used a constant int to
hold a control's default value.  This change makes it possible to
retrieve the control's default through some other means, e.g. as a
result of a query from lower level software.

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