]> git.baikalelectronics.ru Git - kernel.git/commit
[media] staging: media: go7007: firmware protection Protection for unfirmware load
authorVolokh Konstantin <volokh84@gmail.com>
Wed, 16 Jan 2013 12:00:49 +0000 (09:00 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 6 Feb 2013 11:01:11 +0000 (09:01 -0200)
commitaa0baaa2704914d09596d1a90f78265a5bca5922
treeb5b9def835a619f003ec4621f3eaa2216b71fd2e
parentad6b535d235d3b19196928c3b64d3dba24396c5e
[media] staging: media: go7007: firmware protection Protection for unfirmware load

If no firmware was loaded (no exists,wrong or some error) then rmmod
fails with OOPS, so need some protection stuff.

Signed-off-by: Volokh Konstantin <volokh84@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-usb.c
drivers/staging/media/go7007/go7007-v4l2.c