mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v1 0/2] media: hi846: support system suspend while streaming
@ 2023-04-05  9:29 Martin Kepplinger
  2023-04-05  9:29 ` [PATCH v1 1/2] media: hi846: fix usage of pm_runtime_get_if_in_use() Martin Kepplinger
  2023-04-05  9:29 ` [PATCH v1 2/2] media: hi846: preserve the streaming state during system suspend Martin Kepplinger
  0 siblings, 2 replies; 13+ messages in thread
From: Martin Kepplinger @ 2023-04-05  9:29 UTC (permalink / raw)
  To: mchehab, laurent.pinchart
  Cc: kernel, linux-media, linux-kernel, Martin Kepplinger

hi all,

the hi846 sensor driver was broken w.r.t. system suspend **while streaming**.
This is something that I did not test before initial submission.

These 2 small patches adjust the pm logic to support just that - stopping
streaming before suspending and resuming it again after system-resume.

I'm happy for any feedback,

thanks

                                martin


Martin Kepplinger (2):
  media: hi846: fix usage of pm_runtime_get_if_in_use()
  media: hi846: preserve the streaming state during system suspend

 drivers/media/i2c/hi846.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-04-11 11:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-05  9:29 [PATCH v1 0/2] media: hi846: support system suspend while streaming Martin Kepplinger
2023-04-05  9:29 ` [PATCH v1 1/2] media: hi846: fix usage of pm_runtime_get_if_in_use() Martin Kepplinger
2023-04-05 12:52   ` Sakari Ailus
2023-04-06  1:33     ` Laurent Pinchart
2023-04-06 13:36       ` Sakari Ailus
2023-04-07  4:32         ` Laurent Pinchart
2023-04-07 13:31     ` Martin Kepplinger
2023-04-07 18:37       ` Sakari Ailus
2023-04-06  1:32   ` Laurent Pinchart
2023-04-05  9:29 ` [PATCH v1 2/2] media: hi846: preserve the streaming state during system suspend Martin Kepplinger
2023-04-06  1:35   ` Laurent Pinchart
2023-04-11  9:39     ` Martin Kepplinger
2023-04-11 11:15       ` Laurent Pinchart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®