search for: nvkm_gpio_toggled

Displaying 1 result from an estimated 1 matches for "nvkm_gpio_toggled".

2017 Apr 02
1
[PATCH] drm/nouveau: enable interrupts on cards with 32 intr lines
...pio/base.c @@ -164,7 +164,7 @@ static int nvkm_gpio_fini(struct nvkm_subdev *subdev, bool suspend) { struct nvkm_gpio *gpio = nvkm_gpio(subdev); - u32 mask = (1 << gpio->func->lines) - 1; + u32 mask = (1ULL << gpio->func->lines) - 1; gpio->func->intr_mask(gpio, NVKM_GPIO_TOGGLED, mask, 0); gpio->func->intr_stat(gpio, &mask, &mask); -- 2.11.0