]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit7a295d1289f2be16f80f0a5242db330d542e0037
treeb5b9def835a619f003ec4621f3eaa2216b71fd2e
parent61a2353c70d1f33c52768fb7d3fd7ee173928086
[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