summaryrefslogtreecommitdiffstats
path: root/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-06-29 15:45:04 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-06-29 19:04:32 -0300
commit704a28e88ab6c9cfe393ae626b612cab8b46028e (patch)
tree10a368c4af41c3d66a4665458455fb9ce785848a /drivers/media/common
parent20bfe7ae089076b0af72a6d67f0298621ae90a9d (diff)
downloadop-kernel-dev-704a28e88ab6c9cfe393ae626b612cab8b46028e.zip
op-kernel-dev-704a28e88ab6c9cfe393ae626b612cab8b46028e.tar.gz
[media] drxk: prevent doing something wrong when init is not ok
If firmware is not loaded for some reason, or if it is not ready yet, it makes no sense to honour to any DVB callbacks. So, return -EAGAIN, as the error condition may be temporary. If the device doesn't initialize, either because it requires a firmware or because there's an error during init_drxk, returns -ENODEV, to indicate such error, on all DVB callbacks. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/common')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud