Sebastian Reichel wrote:
Hi,
On Tue, Sep 20, 2016 at 03:29:58PM +0300, Sakari Ailus wrote:
Delay suspending the device by 1000 ms by default.
Signed-off-by: Sakari Ailus <[email protected]>
---
since v1:
- Increment usage count before register write using
pm_runtime_get_noresume(), and decrement it before returning. This
avoids a serialisation problem with autosuspend.
drivers/media/i2c/smiapp/smiapp-core.c | 10 +++++++---
drivers/media/i2c/smiapp/smiapp-regs.c | 21 +++++++++++++++------
2 files changed, 22 insertions(+), 9 deletions(-)
Reviewed-By: Sebastian Reichel <[email protected]>
Danke schön! :-)
--
Sakari Ailus
[email protected]
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html