summaryrefslogtreecommitdiffstats
path: root/include/media/davinci/vpbe_display.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rjw@sisk.pl>2011-11-27 13:11:36 +0100
committerRafael J. Wysocki <rjw@sisk.pl>2011-12-01 21:47:08 +0100
commitd5e4cbfe2049fca375cb19c4bc0cf676e8b4a88a (patch)
tree51dfa4b178a53e884d310faad496aed07eee565b /include/media/davinci/vpbe_display.h
parentb930c26416c4ea6855726fd977145ccea9afbdda (diff)
downloadblackbird-op-linux-d5e4cbfe2049fca375cb19c4bc0cf676e8b4a88a.tar.gz
blackbird-op-linux-d5e4cbfe2049fca375cb19c4bc0cf676e8b4a88a.zip
PM / Domains: Make it possible to use per-device domain callbacks
The current generic PM domains code requires that the same .stop(), .start() and .active_wakeup() device callback routines be used for all devices in the given domain, which is inflexible and may not cover some specific use cases. For this reason, make it possible to use device specific .start()/.stop() and .active_wakeup() callback routines by adding corresponding callback pointers to struct generic_pm_domain_data. Add a new helper routine, pm_genpd_register_callbacks(), that can be used to populate the new per-device callback pointers. Modify the shmobile's power domains code to allow drivers to add their own code to be run during the device stop and start operations with the help of the new callback pointers. Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl> Acked-by: Magnus Damm <damm@opensource.se>
Diffstat (limited to 'include/media/davinci/vpbe_display.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud