diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-18 13:04:55 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-04-18 13:19:20 +0200 |
commit | f1028f97209a835ba2b8695c23bf35f15e3d008a (patch) | |
tree | 0285569b801d1bb55e0b8a49daffb544cdb9c448 | |
parent | 7d86c822d74dd0f646bb6b17af12c5ab8f4e7351 (diff) |
wfdport: Add power_modein get_attribi
-rw-r--r-- | src/wfdport.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/wfdport.c b/src/wfdport.c index 76c38a5..89137af 100644 --- a/src/wfdport.c +++ b/src/wfdport.c @@ -286,6 +286,8 @@ wfd_port_get_attribi(struct wfd_device *device, return WFD_FALSE; case WFD_PORT_ROTATION: return 0; + case WFD_PORT_POWER_MODE: + return port->power_mode; case WFD_PORT_PIPELINE_ID_COUNT: return wfd_port_choose_pipeline(device, port) != 0 ? 1 : 0; case WFD_PORT_PROTECTION_ENABLE: |