Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1860133ybn; Thu, 26 Sep 2019 03:20:23 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrCY3PPFPt9GqyFaf2+16tF2RDOwblEJ5mDRolcJxxsrqInusT/bB0JxthVaFHx95JcRBm X-Received: by 2002:a50:aa86:: with SMTP id q6mr2729611edc.288.1569493223862; Thu, 26 Sep 2019 03:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569493223; cv=none; d=google.com; s=arc-20160816; b=Msb8mOZKvObx36ZnKACy8p+SP4OlO9gcWf4RBA8WnVsbjFfiBBNu9fH7UhfCyQrx/u P8jKwPn5FQWuNnB5evVlUqthbYCRkQ/dIXL+o5surl4cwSIYHsxg8jNfWBHbgnktsK+H Spqrb5/rbD/P1B0wbadw9mGWV1L0czkPE4BD53kPBy4xSKfPFdC+j/3E7DMDmNwQmKEJ wgRha6ed6Xda9JVqmTg1i7raAaAhWKgvOFpEQ+zBhUXDApZZkZn0q41Glch+WdkxeBUM CpghSQ8feCMio5j7i2nTzmvOOZfuPhaqSS0pe6tmYo2OjCBgLfcmc2rpoUhpaP2jr5Fe VVeg== 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; bh=RsqaIkP6ckK7OTFs6pyffjEs2AIehb8+gqvkT7sexlU=; b=ev9PibIVZy6xXw47Cd3E7juTWXCumC/OlJKYbgeGey4/miWbo/GTGrXI2FiSL2NpKl j2eWNSjQ0EVVMkmh8cuik0S5DNKVxO8pDiioScs5LnQ1bx9XipZMOzrNjM2bBn5CUc3n Fdx4RSg+VJ0Ie8qz0DR2y1REaUWNAHAnacHmX7kDh0ftgwmFXveAekQgVXQAIcT2hywg 8ms0K+JJkdFf0RnFWSshYLVMK8n6yms8nxVQzupusx21OtmKo7787q06NenIXXkmjK/W eUoQl7a9M/Yk+Mp9JxqOorVM1nGRzztI5GXuwY3VMrxzoKOynTKZQYUIUKnSO3NeFBIS qO1A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-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 m55si1042430edc.17.2019.09.26.03.19.59; Thu, 26 Sep 2019 03:20:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-bluetooth-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-bluetooth-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389796AbfIZGZe convert rfc822-to-8bit (ORCPT + 99 others); Thu, 26 Sep 2019 02:25:34 -0400 Received: from coyote.holtmann.net ([212.227.132.17]:46067 "EHLO mail.holtmann.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728905AbfIZGZe (ORCPT ); Thu, 26 Sep 2019 02:25:34 -0400 Received: from marcel-macpro.fritz.box (p4FEFC197.dip0.t-ipconnect.de [79.239.193.151]) by mail.holtmann.org (Postfix) with ESMTPSA id DC368CECD9; Thu, 26 Sep 2019 08:34:25 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: [PATCH] Bluetooth: btusb: print FW version after FW download From: Marcel Holtmann In-Reply-To: <1569405826-4555-1-git-send-email-amit.k.bag@intel.com> Date: Thu, 26 Sep 2019 08:25:32 +0200 Cc: linux-bluetooth@vger.kernel.org, ravishankar.srivatsa@intel.com, chethan.tumkur.narayan@intel.com Content-Transfer-Encoding: 8BIT Message-Id: References: <1569405826-4555-1-git-send-email-amit.k.bag@intel.com> To: Amit K Bag X-Mailer: Apple Mail (2.3445.104.11) Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org Hi Amit, > After FW download there is no print to confirm the current > FW version. Add print to check FW version incase of FW download. > > Signed-off-by: Amit K Bag > --- > drivers/bluetooth/btusb.c | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c > index a9c35ebb30f8..f6c033b5042c 100644 > --- a/drivers/bluetooth/btusb.c > +++ b/drivers/bluetooth/btusb.c > @@ -2432,6 +2432,14 @@ static int btusb_setup_intel_new(struct hci_dev *hdev) > */ > btintel_set_event_mask(hdev, false); > > + /* Read the Intel version information after loading the FW */ > + err = btintel_read_version(hdev, &ver); > + if (err) > + return err; > + > + btintel_version_info(hdev, &ver); > + bt_dev_info(hdev, "Setup complete"); > + I rather not add an extra Setup complete since that is rather noisy. We can add the extra version information if that adds value. Regards Marcel