Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1810243imm; Thu, 27 Sep 2018 02:55:34 -0700 (PDT) X-Google-Smtp-Source: ACcGV60DNd5/A39IyDWyWJGV0MBI5xFq4FVbkU20lilSqih9laFlaLgM6MJdpJqU4zzkIjZJObhb X-Received: by 2002:a63:d444:: with SMTP id i4-v6mr7895014pgj.194.1538042134739; Thu, 27 Sep 2018 02:55:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538042134; cv=none; d=google.com; s=arc-20160816; b=tNBUyZcBWBVz9GHPxGBY9sluN3856fAgxQBALHztFJ7d8OXRa2OsWerWTqAmLbG4hh JALpP2hkAEO5u4v49B0P7IjN5kRjQ21GWX5q4gU0wH9hPu+Y0DkEY0CCQMFBQJ1ry2/w gImsZ+5tsdHGAtadXsGr669Hh+LFfHXmd6/C5tx1+fFlnvYrfO46hBobuTdeSSwQiLfz 57cnYr3kZZ/BTbbZwTVfrEnSiA3O4+o0BqPihaSCy6lo8WRbBycRK+HMsqGC1MdHYSjB WBO7Sp4DfWEjqXWcvxyaDlaYbooEPlH1fUpzQulb+ayu5SdCHQVTZ7E4uEnRJoa1KscY Jp6w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=NIg2i9ieJ9naCO4UX/7mGGHs4V1rhlcc7zCgc+EWlto=; b=rvoTCtxl8eaj0ijh429HhZ7iI9nrQqE4y28mc2AyRxUyKwHLV+GEHomHhvr6qZqv0d 6Ik1ZEbK7fC680zY87htdrZuLOy5SxY2t99J91DVev0uC0yzPPn/GgIujwJw5/FUTYR6 kYwp9KIg3mJWbWMHwaAP/RX/TEGqvn41icNZCahYY/FbFooGBk7LNo4gXQAQmSd6BGed gkbl66oDrYQdJOluZ2e46LwJNDG9tXDSVbd93x7tDCulLOhbi5t9Vw0KMcyT9HerLBj9 wTRlj9aVA7ZPeg7rr1UJwg3eHfbxQL5D2E1MH0fqHyRN5pF1TTysMwSSu/ZV6l7O2Zk7 O5Fw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w186-v6si1641484pgd.358.2018.09.27.02.55.19; Thu, 27 Sep 2018 02:55:34 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727334AbeI0QMl (ORCPT + 99 others); Thu, 27 Sep 2018 12:12:41 -0400 Received: from smtp.nue.novell.com ([195.135.221.5]:34497 "EHLO smtp.nue.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727163AbeI0QMl (ORCPT ); Thu, 27 Sep 2018 12:12:41 -0400 Received: from linux-dvef.suse.de (unknown.telstraglobal.net [134.159.103.118]) by smtp.nue.novell.com with ESMTP (NOT encrypted); Thu, 27 Sep 2018 11:55:09 +0200 From: "Cho, Yu-Chen" To: linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org Cc: marcel@holtmann.org, johan.hedberg@gmail.com, acho@suse.com, jlee@suse.com Subject: [PATCH] btsdio: Do not bind to non-removable BCM43430 Date: Thu, 27 Sep 2018 17:54:55 +0800 Message-Id: <20180927095455.32247-1-acho@suse.com> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org BCM43430 devices soldered onto the PCB (non-removable) use an UART connection for bluetooth. But also advertise btsdio support on their 3th sdio function. Signed-off-by: Cho, Yu-Chen --- drivers/bluetooth/btsdio.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/btsdio.c b/drivers/bluetooth/btsdio.c index 20142bc77554..84d23d786ce5 100644 --- a/drivers/bluetooth/btsdio.c +++ b/drivers/bluetooth/btsdio.c @@ -297,7 +297,8 @@ static int btsdio_probe(struct sdio_func *func, * uart connection for bluetooth, ignore the BT SDIO interface. */ if (func->vendor == SDIO_VENDOR_ID_BROADCOM && - func->device == SDIO_DEVICE_ID_BROADCOM_43341 && + (func->device == SDIO_DEVICE_ID_BROADCOM_43341 || + func->device == SDIO_DEVICE_ID_BROADCOM_43430) && !mmc_card_is_removable(func->card->host)) return -ENODEV; -- 2.18.0