Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: refactoring
Holger Waechtler <holger@qanu.de> writes:
> > Several of them load the firmware in the attach() function. Its also
> > a good place to setup any internal state the demodulator might need.
>
> wouldn't be init() the better place for firmware uploads? Since this
> is called at wakeup after sleep it will also work for USB devices
> which get completely powered-down.
Yep, with suspend and the like in mind you'll certainly want to
separate attach and hardware initialization as you have to re-setup
the hardware when coming back from suspend ...
Gerd
--
return -ENOSIG;
Home |
Main Index |
Thread Index