From: Hans de Goede Date: Sun, 1 Jan 2012 20:20:14 +0000 (-0300) Subject: [media] gspca: Check dev->actconfig rather than dev->config X-Git-Tag: v3.3-rc1~48^2~124 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5dae603d84ff5b6b24186b521f4353b3860b11e2;p=pandora-kernel.git [media] gspca: Check dev->actconfig rather than dev->config Check dev->actconfig rather than dev->config when checking various configuration things. dev->config points to the array of configs for the device so dev->config->foo boils down to dev->config[0].foo and the first config is not necessarily always the active config. Signed-off-by: Hans de Goede Signed-off-by: Jean-François Moine Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed