[PATCH 4/6] [media] media-devnode: Implement dev_pm_ops.prepare callback

2015-03-31 Thread Tomeu Vizoso
Have it return 1 so that media device nodes that are runtime-suspended won't be suspended when the system goes to a sleep state. This can make resume times considerably shorter because these devices don't need to be resumed when the system is awaken. Signed-off-by: Tomeu Vizoso ---

[PATCH 4/6] [media] media-devnode: Implement dev_pm_ops.prepare callback

2015-03-31 Thread Tomeu Vizoso
Have it return 1 so that media device nodes that are runtime-suspended won't be suspended when the system goes to a sleep state. This can make resume times considerably shorter because these devices don't need to be resumed when the system is awaken. Signed-off-by: Tomeu Vizoso