Re: [PATCH v2 1/2] spi: Add hook on suspend/resume for spi master

2010-11-10 Thread Grant Likely
On Wed, Nov 10, 2010 at 11:32:54AM +0100, Gregory CLEMENT wrote: > Some spi masters need to do some actions when system is going to suspend > or when it will be resumed. > Spi driver offer possibility to handle suspend and resume only for device. > Spi master will do its suspend actions after the d

[PATCH v2 1/2] spi: Add hook on suspend/resume for spi master

2010-11-10 Thread Gregory CLEMENT
Some spi masters need to do some actions when system is going to suspend or when it will be resumed. Spi driver offer possibility to handle suspend and resume only for device. Spi master will do its suspend actions after the devices and will do its resume action before the devices. Signed-off-by: