]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit753426d7bbc09bc6a14341b2ad1042d01f3967e3
tree6d2db66c770eee543c24155e1169f7595aaaa266
parent38874bd4b1749edbd934dfd32995cf2f74329e00
[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