W dniu 22.08.2015 o 02:29, Heiner Kallweit pisze: > Extend the driver to make full use of runtime PM autosuspend. > Before only the SPI core was instructed to use autosuspend > by setting master->auto_runtime_pm. Nevertheless due to the missing > pm_runtime_use_autosuspend call autosuspend wasn't active. > > Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> > --- > Changed: > - Let driver autosuspend also after leaving s3c64xx_spi_setup > - Enable runtime PM earlier in s3c64xx_spi_probe and prevent > suspending in the relevant part of probe > v2: > - Don't init runtime PM before the driver has a reference to the clocks > > drivers/spi/spi-s3c64xx.c | 26 ++++++++++++++++++-------- > 1 file changed, 18 insertions(+), 8 deletions(-) Looks good to me now: Reviewed-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx> Best regards, Krzysztof -- To unsubscribe from this list: send the line "unsubscribe linux-spi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html