Re: [PATCH v2 12/12] intel-ipu3: imgu top level pci device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 15, 2017 at 1:19 AM, Yong Zhi <yong.zhi@xxxxxxxxx> wrote:

Commit message.

> Signed-off-by: Yong Zhi <yong.zhi@xxxxxxxxx>

> +       /* Set Power */
> +       r = pm_runtime_get_sync(dev);
> +       if (r < 0) {
> +               dev_err(dev, "failed to set imgu power\n");

> +               pm_runtime_put(dev);

I'm not sure it's a right thing to do.
How did you test runtime PM counters in this case?

> +               return r;
> +       }

-- 
With Best Regards,
Andy Shevchenko



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux