mailbox/omap: Handle if CONFIG_PM is disabled
authorBrandon Maier <brandon.maier@rockwellcollins.com>
Sun, 17 Nov 2019 20:36:49 +0000 (14:36 -0600)
committerJassi Brar <jaswinder.singh@linaro.org>
Wed, 27 Nov 2019 04:44:53 +0000 (22:44 -0600)
commit0434d3f4525af32bc29f858f71300351041f552d
treed04965fb46950c24c6dd490d19df01b3c48576b0
parentaf42d3466bdc8f39806b26f593604fdc54140bcb
mailbox/omap: Handle if CONFIG_PM is disabled

If CONFIG_PM is disabled, pm_runtime_put_sync() returns -ENOSYS.

Signed-off-by: Brandon Maier <brandon.maier@rockwellcollins.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/omap-mailbox.c