Re: NAK new drivers without proper power management?

From: Alan
Date: Sun Feb 11 2007 - 15:50:58 EST


> > "If the device requires that, implement .suspend and .resume or at least
> > define .suspend that will always return -ENOSYS (then people will know they
> > have to unload the driver before the suspend). Similarly, if you aren't sure
> > whether or not the device requires .suspend and .resume, define .suspend that
> > will always return -ENOSYS."
>
> Sounds ok to me. Where should this text go?
> Documentation/SubmittingDrivers ?

And testing/submitting drivers, perhaps with additional text in that to
make it clear we want suspend/resume support or good excuses

"Please verify your driver correctly handles suspend and resume. If it
does not your patch submission is likely to be suspended and only resume
when the driver correctly handles this feature"


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/