diff mbox

bcma: gpio: Correct number of GPIOs for BCM53573

Message ID 20170630190257.15016-1-f.fainelli@gmail.com (mailing list archive)
State Accepted
Commit 459c35148ef6b65c25bc9d005cc87c4c26850898
Delegated to: Kalle Valo
Headers show

Commit Message

Florian Fainelli June 30, 2017, 7:02 p.m. UTC
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>
---
 drivers/bcma/driver_gpio.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Rafał Miłecki June 30, 2017, 9:37 p.m. UTC | #1
On 30 June 2017 at 21:02, Florian Fainelli <f.fainelli@gmail.com> wrote:
> 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>

Looks good.
Florian Fainelli July 18, 2017, 6:32 p.m. UTC | #2
On 06/30/2017 02:37 PM, Rafał Miłecki wrote:
> On 30 June 2017 at 21:02, Florian Fainelli <f.fainelli@gmail.com> wrote:
>> 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>
> 
> Looks good.

Is Kalle still on vacation, I suppose he is?
Kalle Valo July 21, 2017, 3:40 p.m. UTC | #3
Florian Fainelli <f.fainelli@gmail.com> writes:

> On 06/30/2017 02:37 PM, Rafał Miłecki wrote:
>> On 30 June 2017 at 21:02, Florian Fainelli <f.fainelli@gmail.com> wrote:
>>> 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>
>> 
>> Looks good.
>
> Is Kalle still on vacation, I suppose he is?

Started to play the catch up game with the inbox today :)

This is on my queue so I should be able to apply this soonish:

https://patchwork.kernel.org/patch/9820259/
Kalle Valo July 27, 2017, 10:59 a.m. UTC | #4
Florian Fainelli <f.fainelli@gmail.com> wrote:

> 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>

Patch applied to wireless-drivers-next.git, thanks.

459c35148ef6 bcma: gpio: Correct number of GPIOs for BCM53573
diff mbox

Patch

diff --git a/drivers/bcma/driver_gpio.c b/drivers/bcma/driver_gpio.c
index 7bde8d7a2816..982d5781d3ce 100644
--- a/drivers/bcma/driver_gpio.c
+++ b/drivers/bcma/driver_gpio.c
@@ -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;