Merge remote-tracking branch 'asoc/fix/dma' into asoc-linus
[cascardo/linux.git] / drivers / gpio / gpio-bcm-kona.c
index 72c927d..54c18c2 100644 (file)
@@ -158,7 +158,7 @@ static int bcm_kona_gpio_get(struct gpio_chip *chip, unsigned gpio)
        spin_unlock_irqrestore(&kona_gpio->lock, flags);
 
        /* return the specified bit status */
-       return !!(val & bit);
+       return !!(val & BIT(bit));
 }
 
 static int bcm_kona_gpio_direction_input(struct gpio_chip *chip, unsigned gpio)