[PATCH 4/6] spi/pl022: skip default configuration before suspending

Linus Walleij linus.walleij at linaro.org
Wed Nov 9 07:31:44 EST 2011


On Wed, Nov 9, 2011 at 11:55 AM, Viresh Kumar <viresh.kumar at st.com> wrote:
> On 11/9/2011 4:09 PM, Linus WALLEIJ wrote:
>>
>> -     amba_vcore_enable(pl022->adev);
>> -     amba_pclk_enable(pl022->adev);
>> -     load_ssp_default_config(pl022);
>> -     amba_pclk_disable(pl022->adev);
>> -     amba_vcore_disable(pl022->adev);
>> -     dev_dbg(dev, "suspended\n");
>> +     dev_dbg(&adev->dev, "suspended\n");
>
> why adev->dev instead of dev?

Plain bug. It doesn't even compile with -DDEBUG :-/

I'll fix it up..

Linus



More information about the linux-arm-kernel mailing list