[media] tuner-xc2028: use request_firmware_nowait()
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 30 Jun 2012 12:08:54 +0000 (09:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 30 Jun 2012 17:26:06 +0000 (14:26 -0300)
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>

No differences found