From 328d762dcfc9ea4b6a6bcac208860209bdbb55b5 Mon Sep 17 00:00:00 2001 From: Benjamin Franzke Date: Fri, 29 Apr 2011 12:27:54 +0200 Subject: wfdport: Fix bitmask typo in wfd_port_destroy --- src/wfdport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3