commit | 704a28e88ab6c9cfe393ae626b612cab8b46028e | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Jun 29 15:45:04 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Fri Jun 29 19:04:32 2012 -0300 |
tree | 10a368c4af41c3d66a4665458455fb9ce785848a | |
parent | 20bfe7ae089076b0af72a6d67f0298621ae90a9d [diff] |
[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>