[PATCH v3 2/4] clk: mediatek: Add initial common clock support for Mediatek SoCs.

James Liao jamesjj.liao at mediatek.com
Tue Jan 20 23:49:45 PST 2015


Hi Matthias,

On Tue, 2015-01-20 at 13:39 +0100, Matthias Brugger wrote:
> I think you should use spin_lock_irqsave(&clk_ops_lock, flags) instead
> of mtk_clk_lock.
> In any case I think you should define a spinlock in clk-mt8135.c and
> pass a reference of it in the init functions.
> See drivers/clk/berlin as a good example.

I see. I'll change it in next patch.


Best regards,
James




More information about the linux-arm-kernel mailing list