lkml.org 
[lkml]   [2023]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/2] media: hi846: support system suspend while streaming
Date
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

\
 
 \ /
  Last update: 2023-04-05 11:32    [W:0.086 / U:0.968 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site