bcma: gpio: Correct number of GPIOs for BCM53573
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 30 Jun 2017 19:02:57 +0000 (12:02 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jul 2017 10:59:07 +0000 (13:59 +0300)
Broadcom BCM53573 SoCs actually have 32 GPIOs, and not 16.

Fixes: 3f37ec79dd21 ("bcma: support BCM53573 series of wireless SoCs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/driver_gpio.c

index 7bde8d7a2816b5cb42e7d3104c26a960ad32f8b9..982d5781d3ce0c7dc513e4571923faf243cf1496 100644 (file)
@@ -191,6 +191,7 @@ int bcma_gpio_init(struct bcma_drv_cc *cc)
        case BCMA_CHIP_ID_BCM4707:
        case BCMA_CHIP_ID_BCM5357:
        case BCMA_CHIP_ID_BCM53572:
+       case BCMA_CHIP_ID_BCM53573:
        case BCMA_CHIP_ID_BCM47094:
                chip->ngpio     = 32;
                break;