From: Hans de Goede Date: Sat, 30 Jun 2012 09:44:47 +0000 (-0300) Subject: [media] gspca: Add reset_resume callback to all sub-drivers X-Git-Tag: v3.6-rc1~28^2~108 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8bb58964bc139d5ff5285f84aa302977d221754d;p=pandora-kernel.git [media] gspca: Add reset_resume callback to all sub-drivers 1) The gspca-core's suspend/resume code is such that resume being called after a reset is safe / ok. 2) All devices tested sofar seem to need the reset_resume callback to work properly over a suspend 3) The USB-core won't call the reset_resume callback for devices which don't need it Thus it seems the simplest and the best to just add the callback to all sub-drivers, rather then adding the callbacks one-by-one as each driver gets tested with suspend/resume. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed