[alsa-devel] [PATCHv2] ASoC: Intel: sst-acpi: Request firmware before SST platform driver probing
broonie at kernel.org
Wed Feb 19 13:25:06 CET 2014
On Wed, Feb 19, 2014 at 10:30:38AM +0200, Jarkko Nikula wrote:
> We originally thought to request SST audio DSP firmware during the SST
> platform driver initialization. However plain request_firmware doesn't
> work in driver probe paths if userspace is not ready to handle it. For
> instance when drivers are built-in.
The more usual thing to do here is to only request the firmware when the
device is actually being used (in this case on open). This also allows
the firmware to be replaced easily at runtime which is helpful too. It
seems like this is still an improvement though so I've applied it.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: Digital signature
More information about the Alsa-devel