diff options
author | Steven Toth <stoth@kernellabs.com> | 2010-09-05 10:24:50 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-10-21 05:55:20 -0400 |
commit | 22760ed39c2383e7711753e7582dac5d6d5f647c (patch) | |
tree | a57c709890bc4ba916642cc1ed20078145c5134f /drivers/media/video/saa7164/saa7164-fw.c | |
parent | a1c592b766ee94aaf0e2549b8ba4d0298c328484 (diff) |
[media] saa7164: bugfix, avoid oops when driver unloads without firmware
Signed-off-by: Steven Toth <stoth@kernellabs.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/saa7164/saa7164-fw.c')
-rw-r--r-- | drivers/media/video/saa7164/saa7164-fw.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/saa7164/saa7164-fw.c b/drivers/media/video/saa7164/saa7164-fw.c index e48e2b4878fc..484533c32bb1 100644 --- a/drivers/media/video/saa7164/saa7164-fw.c +++ b/drivers/media/video/saa7164/saa7164-fw.c | |||
@@ -604,6 +604,7 @@ int saa7164_downloadfirmware(struct saa7164_dev *dev) | |||
604 | } | 604 | } |
605 | } | 605 | } |
606 | 606 | ||
607 | dev->firmwareloaded = 1; | ||
607 | ret = 0; | 608 | ret = 0; |
608 | 609 | ||
609 | out: | 610 | out: |