]> git.baikalelectronics.ru Git - kernel.git/commit
media: am437x-vpfe: Fix suspend path to always handle pinctrl config
authorDave Gerlach <d-gerlach@ti.com>
Fri, 20 Sep 2019 17:05:42 +0000 (14:05 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 15:51:34 +0000 (12:51 -0300)
commit3eb9382cbd43f63003e17f4c56e89d8573f046fa
tree293e0700d6afa5faaf40166d1519a9f339a54158
parent23bb4e51d508480d9a9b9fc86f94bb645299b9ca
media: am437x-vpfe: Fix suspend path to always handle pinctrl config

Currently if vpfe is not active then it returns immediately in the
suspend and resume handlers. Change this so that it always performs the
pinctrl config so that we can still get proper sleep state configuration
on the pins even if we do not need to worry about fully saving and
restoring context.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Benoit Parrot <bparrot@ti.com>
Acked-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/platform/am437x/am437x-vpfe.c