Re: [PATCH v1.1 5/5] smiapp: Implement support for autosuspend

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux