From: Stuart Henderson Date: Mon, 24 Apr 2017 12:58:49 +0000 (+0100) Subject: gpio: madera: Add support for CS47L92/CS47L93 codecs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=fdaa60bb5bed2e7f40796e14bfaf3d8cccfeeece;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git gpio: madera: Add support for CS47L92/CS47L93 codecs Change-Id: I6e19fd25d1f2a92104e010deea97c443c9b92c9a Signed-off-by: Stuart Henderson --- diff --git a/drivers/gpio/gpio-madera.c b/drivers/gpio/gpio-madera.c index d700e939b967..1ef377ef4a74 100644 --- a/drivers/gpio/gpio-madera.c +++ b/drivers/gpio/gpio-madera.c @@ -151,6 +151,10 @@ static int madera_gpio_probe(struct platform_device *pdev) case CS47L91: madera_gpio->gpio_chip.ngpio = CS47L90_NUM_GPIOS; break; + case CS47L92: + case CS47L93: + madera_gpio->gpio_chip.ngpio = CS47L92_NUM_GPIOS; + break; default: dev_err(&pdev->dev, "Unknown chip variant %d\n", madera->type); return -EINVAL;