]> 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)
commit193671aac6669247045558c9cc27be1fcce1e45b
treeb5b9def835a619f003ec4621f3eaa2216b71fd2e
parent6874458781f2d852edea0c5196f03cf259c7bbf3
[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