b43legacy: fix logic in GPIO init
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
6c1872369d
commit
85ce5ae526
|
@ -1920,7 +1920,7 @@ static int b43legacy_gpio_init(struct b43legacy_wldev *dev)
|
|||
return 0;
|
||||
ssb_write32(gpiodev, B43legacy_GPIO_CONTROL,
|
||||
(ssb_read32(gpiodev, B43legacy_GPIO_CONTROL)
|
||||
& mask) | set);
|
||||
& ~mask) | set);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue