commit | 61a96113de51e1f8f43ac98cbeadb54e60045905 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Jun 30 09:08:54 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Sat Jun 30 14:26:06 2012 -0300 |
tree | 16eb4f6fbf3d2d65074d08d71d9d22e90e57a826 | |
parent | 704a28e88ab6c9cfe393ae626b612cab8b46028e [diff] |
[media] tuner-xc2028: use request_firmware_nowait() Change the firmware logic to use request_firmware_nowait(), and to preserve the loaded firmwares in memory, to reduce the risk of troubles with buggy userspace apps. With this change, while the firmware is being loaded, the driver will return -EAGAIN to any calls. If, for some reason, firmware failed to be loaded from userspace, it will return -ENODEV. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>