Messages in this thread |  | | From | Andy Shevchenko <> | Date | Mon, 2 Apr 2018 17:01:22 +0300 | Subject | Re: [PATCH v2] serial: 8250: omap: Provide ability to enable/disable UART as wakeup source |
| |
On Mon, Apr 2, 2018 at 3:20 PM, Vignesh R <vigneshr@ti.com> wrote:
> + pm_runtime_get_sync(dev);
> + if (!device_may_wakeup(dev)) > + priv->wer = 0;
Can it be
priv->wer = device_may_wakeup(dev);
?
> + serial_out(up, UART_OMAP_WER, priv->wer); > + pm_runtime_mark_last_busy(dev); > + pm_runtime_put_autosuspend(dev);
-- With Best Regards, Andy Shevchenko
|  |