Commit 85ce5ae5 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43legacy: fix logic in GPIO init

Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 6c187236
...@@ -1920,7 +1920,7 @@ static int b43legacy_gpio_init(struct b43legacy_wldev *dev) ...@@ -1920,7 +1920,7 @@ static int b43legacy_gpio_init(struct b43legacy_wldev *dev)
return 0; return 0;
ssb_write32(gpiodev, B43legacy_GPIO_CONTROL, ssb_write32(gpiodev, B43legacy_GPIO_CONTROL,
(ssb_read32(gpiodev, B43legacy_GPIO_CONTROL) (ssb_read32(gpiodev, B43legacy_GPIO_CONTROL)
& mask) | set); & ~mask) | set);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment