]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - drivers/media/usb/go7007/go7007-usb.c
[media] go7007: don't continue if firmware can't be loaded
authorHans Verkuil <hans.verkuil@cisco.com>
Sun, 17 Mar 2013 12:23:25 +0000 (09:23 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 25 Mar 2013 11:10:55 +0000 (08:10 -0300)
commit59aea928d57f171453474a883f087e4fccb83e94
tree6d2db66c770eee543c24155e1169f7595aaaa266
parent7118b4431b185a101e700ac79fa011000b2b71c3
[media] go7007: don't continue if firmware can't be loaded

The go7007 driver would continue during probe if no firmware could be
loaded. Without firmware the probe() should return an error, so do that.
Also move the registration of devices to the end of the probe() sequence:
once devices appear the full driver functionality should be available.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-usb.c
drivers/staging/media/go7007/saa7134-go7007.c