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 <sakari.ailus@xxxxxxxxxxxxxxx>
---
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 <sre@xxxxxxxxxx>
Danke schön! :-)
--
Sakari Ailus
sakari.ailus@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html