[PATCH 4/7] spi/pl022: move device disable to workqueue thread

Viresh Kumar viresh.kumar at st.com
Tue Nov 22 03:28:30 EST 2011


On 11/22/2011 1:55 PM, Linus WALLEIJ wrote:
>  	if (list_empty(&pl022->queue) || !pl022->running) {
> +		if (pl022->busy) {
> +			pm_runtime_put(&pl022->adev->dev);
> +		}

We used to get warnings from checkpatch, for single line code inside {}.
Don't we get them anymore?

Reviewed-by: Viresh Kumar <viresh.kumar at st.com>

-- 
viresh



More information about the linux-arm-kernel mailing list