From: Hans Verkuil Date: Sun, 6 May 2012 12:28:17 +0000 (-0300) Subject: [media] gspca: Allow subdrivers to use the control framework X-Git-Tag: v3.5-rc1~104^2~268 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=62bba5dd8181bed282967f1054ed5749b2c499f9;p=pandora-kernel.git [media] gspca: Allow subdrivers to use the control framework Make the necessary changes to allow subdrivers to use the control framework. This does not add control event support, that comes later. It add a init_control cam_op that is called after init in probe that allows the subdriver to set up the controls. HdG: Call v4l2_ctrl_handler_setup from resume instead of gspca_set_default_mode, as we just want to resend the current ctrl values to the device. Signed-off-by: Hans Verkuil Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed