[PATCH v1 0/2] media: hi846: support system suspend while streaming

Martin Kepplinger posted 2 patches 2 years, 10 months ago
drivers/media/i2c/hi846.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
[PATCH v1 0/2] media: hi846: support system suspend while streaming
Posted by Martin Kepplinger 2 years, 10 months ago
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