commit | 6c6ee53c55dd0d3d9c3b42d4770bb82842d99727 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Sun Jul 08 19:41:14 2012 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Mon Jul 09 13:42:29 2012 -0700 |
tree | 28bd99baa077bb27e983ae02194c8eb604fa11b0 | |
parent | c5e43b83b0e2a5a24f7a2f1417e08db063b034f7 [diff] |
gspca_sn9c20x: Fix NULL pointer dereference Don't call v4l2_ctrl_g_ctrl on ctrls which the model cam in question does not have. Reported-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> [ Taken directly, since Mauro is on vacation ] Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>