Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4049765ooa; Mon, 13 Aug 2018 23:48:54 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzDIul69XpbQ5fARhVIeA+MDYD8WLSGPrZOjsCZ7u97tO0rjAVuT1CF1zdejBKNkq4O8e4V X-Received: by 2002:a65:4107:: with SMTP id w7-v6mr19090722pgp.302.1534229334221; Mon, 13 Aug 2018 23:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534229334; cv=none; d=google.com; s=arc-20160816; b=ada952jQQI8tCEVxHyODwXmNnlrCIktlbsRLAH8TF/lt06kWw04ubFfaOVI1jj9LOg +UmKazi9+1VY0DVYaC0MvDabqpTx/hgyiqmOs0yi26Ahh1QOSlW+RQT0y7/O0c1jDLc3 zxWFSfgAcuooFxDp+ZrzeN0h4Qv2YL6C8ERpWY07GUoBgbUySY6cppCMEsCLqVRWa2ZS FUwc5iFWXnvE5SmqeZeFa12w8OWUUOvByRPVuqxnaf5wN13IzkbruNYKYX9qNDutoVUZ GSlmm8r6x+fHf5SFKaf+tEi6abLjviLmtedTmK6U7d0c10cl+yb+gEpmSjyqDTRYmBQR n3VQ== 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 :dkim-signature:arc-authentication-results; bh=bjXVpOfM4P9Glb181PtGGDdLiDZ8/PlBb2QNr7KtlZY=; b=OjaUVb/40408dkkjobFWibIQ2G/tlS+/itTqQwWXxr8+sfWWJAm0yN83C0mQEuQNLD N9/A1GuZCI/0US+RGOLbOol+9jWmKho3OBcM2qCM/lW8ZXhWnV+uyvpiJOZ2AxBaw8WA v0N2RSUOB+X0wqZvSFObMDDgvZwqjXL3KlsOGKCel3VPmlYfWdmAR5k/cZCILE7xxEq8 olVJWelScl+ZTEKuEXktDt+dUUS21Iwkf2RlORTw756dXKSTLYiyh5jKzRMU/p4mG+JG 5sqfhVCpaTvTEOuFEHSd4IBIvA1Zyob1gayUzkSk7zSO9YAh8YMfTC2I5785dj515cWm r03Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LrdcrDmb; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m12-v6si16276392plt.212.2018.08.13.23.48.38; Mon, 13 Aug 2018 23:48:54 -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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LrdcrDmb; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731662AbeHNJdi (ORCPT + 99 others); Tue, 14 Aug 2018 05:33:38 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:41390 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbeHNJdi (ORCPT ); Tue, 14 Aug 2018 05:33:38 -0400 Received: by mail-pl0-f67.google.com with SMTP id w19-v6so7951129ply.8; Mon, 13 Aug 2018 23:47:51 -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=bjXVpOfM4P9Glb181PtGGDdLiDZ8/PlBb2QNr7KtlZY=; b=LrdcrDmbpD3hlVGWndR23eSupH6xZNFQRXmzNhxEjE8UOPDcEFXel32ZLSWi2sVfdC ny9EJScel2fc8M3MZ70fac27Z1yxj+iL4ucC937yUvoNu7kRTR1JZ3yvm4tBNB7jrHy6 G/uQylqzuo13ZDThYO7iardbucNhAqaLzOYvzUdU36MDxuS3CDOnz91JvG16ewLtR/Jw xT/z8ODwHucSVAoc/xVHDhJ7GRhKovd4umZ/LgpI3N2eVuC6ug43gKuBcqptO/BuCEJs 51FbxCk92JmF2ToJf/EL3Yg9lj1vxpvWeTGE4RAaCPtBzCdgkLwbqz11cyEor9c9QGe9 ZCuA== 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=bjXVpOfM4P9Glb181PtGGDdLiDZ8/PlBb2QNr7KtlZY=; b=lrFY6d1mFRIVdAJcIGaz1qpUY+o0NXs4HfwGoB770Q0WCRGV/gNhHaJHis4+wom5AF PaEntUsZt9UfZM8DghTdS2MgMBFFkW0QX1pDeFbPqQM+V6kWKfBkrCsEmMksX4MgGd/v vbFR4Am9UfjmaJX5zt67S3x88yZKMyI4cn6Ifwys6NoTHpGpGJtkz9gdNCjKY71g659H pUFCalRjg1tzHVou0Ye5MPeUstPCgIdmXqduGizZHA75VByg4BbQn6raOmHf6KA4MwdV zTOw6dRljBrPsQiqcH2TIIu+wpAtPzkBcAJd9jZkKMPMpkByclEht10LqN/VK4rQPrsr CORg== X-Gm-Message-State: AOUpUlEPAy/RtlzQUIn30FyzzUH+u52PQlDfcLdy9qINtorOTFKl3I2q YIm+/b0FCzyGLzgU6Xf8Opy0cQ9j X-Received: by 2002:a17:902:a5:: with SMTP id a34-v6mr19489373pla.60.1534229270966; Mon, 13 Aug 2018 23:47:50 -0700 (PDT) Received: from localhost.localdomain ([58.173.153.121]) by smtp.googlemail.com with ESMTPSA id c85-v6sm39660477pfd.110.2018.08.13.23.47.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Aug 2018 23:47:50 -0700 (PDT) From: Ian W MORRISON To: marcel@holtmann.org, johan.hedberg@gmail.com, linux-bluetooth@vger.kernel.org, linux-kernel@vger.kernel.org, hdegoede@redhat.com Cc: Ian W MORRISON Subject: [PATCH] Use default .cfg file name for RTL8723BS devices with id of OBDA8723 Date: Tue, 14 Aug 2018 16:47:42 +1000 Message-Id: <20180814064742.14519-1-ianwmorrison@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org For RTL8723BS devices the current config file name is a composite of both the config name (rtl8723bs) and a postfix of the device-id. Given the majority of RTL8723BS devices use a device-id of OBDA8723 this simplifies the config file name to use "rtl8723bs_config.bin" as a default of for these devices. Signed-off-by: Ian W MORRISON --- drivers/bluetooth/hci_h5.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/bluetooth/hci_h5.c b/drivers/bluetooth/hci_h5.c index 8eede1197cd2..cce422dc1b8d 100644 --- a/drivers/bluetooth/hci_h5.c +++ b/drivers/bluetooth/hci_h5.c @@ -852,7 +852,9 @@ static int h5_btrtl_setup(struct h5 *h5) bool flow_control; int err; - btrtl_dev = btrtl_initialize(h5->hu->hdev, h5->id); + btrtl_dev = strcmp("OBDA8723", h5->id) ? + btrtl_initialize(h5->hu->hdev, h5->id) : + btrtl_initialize(h5->hu->hdev, NULL); if (IS_ERR(btrtl_dev)) return PTR_ERR(btrtl_dev); -- 2.17.1