diff options
Diffstat (limited to 'drivers/media/video/gspca/gl860/gl860.c')
-rw-r--r-- | drivers/media/video/gspca/gl860/gl860.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/gl860/gl860.c b/drivers/media/video/gspca/gl860/gl860.c index c84e26006fc3..c549574c1c7e 100644 --- a/drivers/media/video/gspca/gl860/gl860.c +++ b/drivers/media/video/gspca/gl860/gl860.c | |||
@@ -405,6 +405,9 @@ static void sd_stop0(struct gspca_dev *gspca_dev) | |||
405 | { | 405 | { |
406 | struct sd *sd = (struct sd *) gspca_dev; | 406 | struct sd *sd = (struct sd *) gspca_dev; |
407 | 407 | ||
408 | if (!sd->gspca_dev.present) | ||
409 | return; | ||
410 | |||
408 | return sd->dev_post_unset_alt(gspca_dev); | 411 | return sd->dev_post_unset_alt(gspca_dev); |
409 | } | 412 | } |
410 | 413 | ||