From patchwork Fri Jun 30 19:02:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 9820259 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8913460224 for ; Fri, 30 Jun 2017 19:03:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 74F93286C4 for ; Fri, 30 Jun 2017 19:03:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 69CB8286D1; Fri, 30 Jun 2017 19:03:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2F7F5286C4 for ; Fri, 30 Jun 2017 19:03:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752089AbdF3TDO (ORCPT ); Fri, 30 Jun 2017 15:03:14 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:36836 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751072AbdF3TDM (ORCPT ); Fri, 30 Jun 2017 15:03:12 -0400 Received: by mail-wm0-f68.google.com with SMTP id y5so9477069wmh.3; Fri, 30 Jun 2017 12:03:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=OkhXdYhK6UmigwmJABYwqjlCqcPm7/kxfTbEsRBoxms=; b=OPJ+XxwArAgpSkjsQUD2AWHq/4KQokdqaWJ6ekuO5xWCXCdtgerrx4TBIJEN/+PdpN glbukdiqef6iG8qnWhZn4tierOd0grOKFLZdWXNnH087ZO/Is9o0Ck5wb2AqEFYu/x45 1fpiQF2vMgI6POJPkTLgDZfEZaqKmtbDUbYCXpySzV6DtG/YrB2ncDb7obbCTUajd1aC N5MmCH+2zlbj5nszywT72rAwa0L2tXjp89RRrCIYNoff86xu3b/ve4gQQPyMbUjwNKdP iQsJyAVSmlmqbroQJP5vLDcLm71yf0nV/988Acna+2RdmhkX6Khjm5R9hwjFyLL/UvKF VDUA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=OkhXdYhK6UmigwmJABYwqjlCqcPm7/kxfTbEsRBoxms=; b=YGRhLUGNGEKi9vi1cFnSNE+vreYC2l+rs7V/TJgVBLWBEe51lQYaD3R26td4KqjIRA RdS3dK3syMd/MZdYPaTPuZw0mEbZn8w1yeD6UtLG0Q6GPrJWKQH9v7CpQTTJ49H+yVbg mivOAETXPEAdMFdtZCQS//3L4qHZ9BVHN5zdPtxZQQfZoSCWelfkKoUo72IIOg5Wu6lx g8oN/keLUXrp8WutWIZNkWw/PwPJW16q0+NOA0aMpvc4GQExKNUwZUoVHB5bcWij02cV tBrG69ow38xxm8kTPumFGG7+y/FHwF0A3NDMQha5Wr9okTjPBQu3KtHr9JjNbL0wFW53 YBEg== X-Gm-Message-State: AIVw111JSz558C6jx4/xkZCh3IhNHHLC8T8sZhgwMfYIoKdbPUSP8qUe 8hIbCrjJ92o9q8gHRYQ= X-Received: by 10.28.141.142 with SMTP id p136mr2677749wmd.125.1498849391013; Fri, 30 Jun 2017 12:03:11 -0700 (PDT) Received: from fainelli-desktop.broadcom.com ([192.19.255.250]) by smtp.gmail.com with ESMTPSA id x21sm7242497wme.24.2017.06.30.12.03.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Jun 2017 12:03:09 -0700 (PDT) From: Florian Fainelli To: linux-kernel@vger.kernel.org Cc: Florian Fainelli , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , linux-wireless@vger.kernel.org (open list:BROADCOM SPECIFIC AMBA DRIVER (BCMA)) Subject: [PATCH] bcma: gpio: Correct number of GPIOs for BCM53573 Date: Fri, 30 Jun 2017 12:02:57 -0700 Message-Id: <20170630190257.15016-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.9.3 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Broadcom BCM53573 SoCs actually have 32 GPIOs, and not 16. Fixes: 3f37ec79dd21 ("bcma: support BCM53573 series of wireless SoCs") Signed-off-by: Florian Fainelli --- drivers/bcma/driver_gpio.c | 1 + 1 file changed, 1 insertion(+) 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;