[PATCH] fpga: zynq-fpga: Avoid hammering clk_{enable/disable}.

Moritz Fischer moritz.fischer at ettus.com
Tue Nov 17 10:08:12 PST 2015


Michal,

On Tue, Nov 17, 2015 at 9:53 AM, Michal Simek <michal.simek at xilinx.com> wrote:

>> +#ifdef CONFIG_PM
>
> remove this

Will do.
>
>> +static int zynq_fpga_runtime_suspend(struct device *dev)
>
> add __maybe_unused here

Will do.

>> +static int zynq_fpga_runtime_resume(struct device *dev)
>
> and here

Will do.

>> +}
>> +
>> +#endif
>
> and remove this.

Will do.

> Body has nothing specific what it is available only for CONFIG_PM that's
> why it should just work.

You're right. I'll resubmit once other people took another look. Not
high priority ;-)

Cheers,

Moritz



More information about the linux-arm-kernel mailing list