[PATCH v3 5/5] OMAP: mailbox: add omap_device latency information

Kanigeri, Hari h-kanigeri2 at ti.com
Mon Dec 13 13:28:24 EST 2010


> -       mbox_ick_handle = clk_get(NULL, "mailboxes_ick");
> -       if (IS_ERR(mbox_ick_handle)) {
> -               printk(KERN_ERR "Could not get mailboxes_ick: %ld\n",
> -                       PTR_ERR(mbox_ick_handle));
> -               return PTR_ERR(mbox_ick_handle);
> -       }
> -       clk_enable(mbox_ick_handle);
> +       pm_runtime_get_sync(&mbox_pdev->dev);

Might be good to check the return value.


Thank you,
Best regards,
Hari Kanigeri



More information about the linux-arm-kernel mailing list