]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/gpio/gpio-creg-snps.c
Merge tag 'drm-next-2020-01-30' of git://anongit.freedesktop.org/drm/drm
[linux.git] / drivers / gpio / gpio-creg-snps.c
index ff19a8ad5663a2bd3dd76b9a10a4dcb0aa54cd33..1d0827e7970353099e9eff2a8de6223f9e60df89 100644 (file)
@@ -64,11 +64,11 @@ static int creg_gpio_validate_pg(struct device *dev, struct creg_gpio *hcg,
        if (layout->bit_per_gpio[i] < 1 || layout->bit_per_gpio[i] > 8)
                return -EINVAL;
 
-       /* Check that on valiue fits it's placeholder */
+       /* Check that on value fits its placeholder */
        if (GENMASK(31, layout->bit_per_gpio[i]) & layout->on[i])
                return -EINVAL;
 
-       /* Check that off valiue fits it's placeholder */
+       /* Check that off value fits its placeholder */
        if (GENMASK(31, layout->bit_per_gpio[i]) & layout->off[i])
                return -EINVAL;