Received: by 2002:a4a:311b:0:0:0:0:0 with SMTP id k27-v6csp4075540ooa; Tue, 14 Aug 2018 00:16:35 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzRZjP3nZjowsmZC+0dQlNEJQ5Jzr6teHlodCfrl8Abtkg+ZccQsSjBYrBd2TYwA6IdbiCl X-Received: by 2002:a17:902:5a82:: with SMTP id r2-v6mr19172699pli.315.1534230995767; Tue, 14 Aug 2018 00:16:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534230995; cv=none; d=google.com; s=arc-20160816; b=nhpMiO/H3GuozYDSMAdqjns7CrLOfq+CvjfQ7H+hkCxwjhCvHdtV8BlSXa9YPtc726 4L2xs7EWMI7c5j4755kLsnsXOW8k9pLFcFKRnnt9fSOrL7oDKFc6htJUUx2HC9li1rrC PZCliv6ZVnm8dFoH0CQGUTV+v6Fh3Sw9I1uLJ22obw3J1tfFwlUYrI843KWhBDoUd25n fI31v9OGDXUae42R61Q9r1Fy9fkTj2pr9LAt/SIo4itQ3kn5RP87z7VqHCIWyHi9Jcok cTQCmY1baQdP9BER0Yf7JMtLWTmcRjxXVp4rP5urp/JydVtVyC/LyLJ1eaflyOfTzZYG aurw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:arc-authentication-results; bh=YqVeU4DODfhbV+qcJmF4PCiBftDZj+2466mnVXx9mj4=; b=YF1xfML6kqSHta9qDSKtAF8PfHyfHttFFFM5m6KBb4TiCZ+h66Ej2heENZ0r8Sn9ay 2afeGvedhvePpMMkkVEbhbwV+tAloGsaS76UAeh66fKyQXaxfIf91WHgvMBzYVV+TDfH 1cCTN5xYx600OIy2+1hB7xptlzJwLJUaSd6q2duWxBUxAXctxFsqdfKnDfUTiGbDfNo7 pyXW/UKernSGkuRarNJr6nETo0XrExhMOHxhVzT8dSj9euhKUfbUtNpe4twFOWKF3U/K 2+YgQi+lvDRITLB8PlNmsBF47Xs6akIKJmRCgXd4X4CrrwKNamH+AvTnG188W+kNuiB1 vXpA== 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 8-v6si20875337pfw.89.2018.08.14.00.16.20; Tue, 14 Aug 2018 00:16:35 -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 S1730818AbeHNJqf convert rfc822-to-8bit (ORCPT + 99 others); Tue, 14 Aug 2018 05:46:35 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:58219 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727670AbeHNJqf (ORCPT ); Tue, 14 Aug 2018 05:46:35 -0400 Received: from marcel-macpro.fritz.box (p4FEFCC41.dip0.t-ipconnect.de [79.239.204.65]) by mail.holtmann.org (Postfix) with ESMTPSA id 6A497CEFA2; Tue, 14 Aug 2018 09:07:46 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: [PATCH] Use default .cfg file name for RTL8723BS devices with id of OBDA8723 From: Marcel Holtmann In-Reply-To: <20180814064742.14519-1-ianwmorrison@gmail.com> Date: Tue, 14 Aug 2018 09:00:43 +0200 Cc: Johan Hedberg , "open list:BLUETOOTH DRIVERS" , Linux Kernel Mailing List , hdegoede@redhat.com Content-Transfer-Encoding: 8BIT Message-Id: References: <20180814064742.14519-1-ianwmorrison@gmail.com> To: Ian W MORRISON X-Mailer: Apple Mail (2.3445.9.1) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ian, > 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); I am not letting you duplicate the PNPID here. This needs to be done cleanly with the device table that is already present. Regards Marcel