diff options
author | Pin-yen Lin <[email protected]> | 2022-10-04 12:49:42 +0800 |
---|---|---|
committer | Robert Foss <[email protected]> | 2022-10-04 10:54:07 +0200 |
commit | 10517777d302d2e09bee3bf272dd28c0b0c8f3d0 (patch) | |
tree | c5a58e27638bae7deb9c23e078643865abcd00b9 /lib/mpi/mpiutil.c | |
parent | 353b6bf2c4f14f0049cc8db5c2cca26882ff76b4 (diff) |
drm/bridge: it6505: Adapt runtime power management framework
Use pm_runtime_(get|put)_sync to control the bridge power, and add
SET_SYSTEM_SLEEP_PM_OPS with pm_runtime_force_(suspend|resume) to it6505
driver. Without SET_SYSTEM_SLEEP_PM_OPS, the bridge will be powered on
unnecessarily when no external display is connected.
Fixes: b5c84a9edcd4 ("drm/bridge: add it6505 driver")
Signed-off-by: Pin-yen Lin <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Signed-off-by: Robert Foss <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions