[PATCH v1 0/2] media: hi846: support system suspend while streaming
From: Martin Kepplinger
Date: Wed Apr 05 2023 - 05:31:44 EST
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