summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2011-04-29 12:27:54 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2011-04-29 12:27:54 +0200
commit328d762dcfc9ea4b6a6bcac208860209bdbb55b5 (patch)
treea93a7a4f4397277298507011cc4c434364c16d7a
parent277f0fa5184549e1bfadf23a88a9219306149895 (diff)
wfdport: Fix bitmask typo in wfd_port_destroy
-rw-r--r--src/wfdport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wfdport.c b/src/wfdport.c
index a9856fe..2e86186 100644
--- a/src/wfdport.c
+++ b/src/wfdport.c
@@ -99,7 +99,7 @@ wfd_port_destroy(struct wfd_device *device,
{
if (port->choosen_pipeline) {
uint32_t *crtcs = wfd_device_get_choosen_crtcs(device);
- *crtcs &= (1 << port->choosen_pipeline);
+ *crtcs &= ~(1 << port->choosen_pipeline);
}
port_modes_destroy(device, port);