diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-03-17 12:23:25 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-03-25 11:10:55 (GMT) |
commit | 59aea928d57f171453474a883f087e4fccb83e94 (patch) | |
tree | 6d2db66c770eee543c24155e1169f7595aaaa266 /drivers/media/i2c/tw9903.c | |
parent | 7118b4431b185a101e700ac79fa011000b2b71c3 (diff) | |
download | linux-59aea928d57f171453474a883f087e4fccb83e94.tar.xz |
[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>
Diffstat (limited to 'drivers/media/i2c/tw9903.c')
0 files changed, 0 insertions, 0 deletions