[PATCH V2 1/3] Revert spi/pl022: fix spi-pl022 pm enable at probe

2012-10-04 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org This reverts commit 6887237cd7da904184dab2750504040c68f3a080. This reverts is done due to earlier wrong commit, which is also reverted. Revert spi/pl022: enable runtime PM Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Reviewed-by: Linus Walleij

[PATCH V2 3/3] spi: spi-pl022: Minor simplification for runtime pm

2012-10-04 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org In probe pm_runtime_put_autosuspend has the same effect as doing pm_runtime_put. This due to upper layer in driver core is preventing the device from being runtime suspended by a pm_runtime_get*. Signed-off-by: Ulf Hansson ulf.hans...@linaro.org

[PATCH V2 0/3] spi: spi-pl022: Fixup use of runtime pm

2012-10-04 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org Some old runtime pm patches got merged whiched messed up things. These are now reverted. Additionaly one patch do a simplification of the use of runtime pm functions. V2: Rebased patches and updated commit messages. Ulf Hansson (3): Revert spi/pl022:

[PATCH V2 2/3] Revert spi/pl022: enable runtime PM

2012-10-04 Thread Ulf Hansson
From: Ulf Hansson ulf.hans...@linaro.org This reverts commit 2fb30d1147c599f5657e8c62c862f9a0f58d9d99. This patch is reverted due to wrong runtime PM code. Conflicts: drivers/spi/spi-pl022.c Signed-off-by: Ulf Hansson ulf.hans...@linaro.org Acked-by: Linus Walleij

Re: [PATCH V2 3/3] spi: spi-pl022: Minor simplification for runtime pm

2012-10-04 Thread Ulf Hansson
Hi, Mark, I am not sure this particular patch is actually wanted. Realized that when reading up on the driver/base/* patches for PM changes this summer. Especially how device probe/suspend/shutdown etc. has been changed for runtime PM point of view. Maybe you can comment? Kind regards Ulf

Re: Continuous streaming SPI transfer

2012-10-04 Thread Mark Brown
On Fri, Sep 28, 2012 at 01:09:25AM +0300, Nuutti Kotivuori wrote: There seems to be no way to prevent the deactivation and reactivation of the clock and everything between separate transfers - and a single transfer is bounded in size and no progress is reported for it. Even within a single