commit | 10ee2402004d03b31555aad7badf7e499fa686d3 | [log] [tgz] |
---|---|---|
author | Hans de Goede <hdegoede@redhat.com> | Fri Feb 19 04:41:40 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Feb 26 15:11:09 2010 -0300 |
tree | 3d12e11eeaaa9a96362a99de3e0fa6ca76399bc1 | |
parent | ac82f59f9cc6aae3300430fcc3422e59f83d89ae [diff] |
V4L/DVB: gspca_main: some input error handling fixes 2 small changes to input device error handling: 1) Make it fatal when we fail to create an input device (it is either this or add checks for gspca_dev->input_dev being NULL in a lot of places) 2) Since we allow gspca_input_create_urb() to fail everywhere we call it, and thus never check its return value, make it void. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>