Re: [PATCH v2 8/8] p54: convert to sysdata API

From: Mark Brown
Date: Wed Aug 10 2016 - 15:19:35 EST


On Wed, Aug 10, 2016 at 09:04:38PM +0200, Arend Van Spriel wrote:

> So why would drivers want the devm solution anyway. Once firmware is
> loaded in the device it can be freed or do you expect device drivers to
> keep the firmware/sysdata for suspend/resume scenario as some do because
> of firmware cache behaviour. Does the "rootfs ready" event cover
> suspend/resume?

There are classes of devices that spend a large proportion of their time
powered off and are only powered up and have firmware loaded when they
are actively in use. DSPs used in audio systems are one example of
this, I'd not be surprised to learn that similar things are done with
video. It's too expensive to keep the device powered up and you may be
swapping between firmwares depending on use case anyway for a lot of
these devices.

Attachment: signature.asc
Description: PGP signature