Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2883159ybn; Thu, 26 Sep 2019 19:58:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqwFpKJIAEQfChikMAn3W9wIxq0uo5J5HH/bevTESsx9jiTry5r2pnoqAXBhcoW1tpS3m267 X-Received: by 2002:a17:906:2cc8:: with SMTP id r8mr5902498ejr.197.1569553086299; Thu, 26 Sep 2019 19:58:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569553086; cv=none; d=google.com; s=arc-20160816; b=Am2oFoIP69yUY6clVae3Q4T9I1/Z8+NjjP8rkxj89Y23D6tluD1BEW/oTbG3IDMR44 rqLzcHzhqB0rmhh18iZvGFlT/47hC2HTrQQvKxuJQXtnNf0zV9T9y2sq0lG3TymymQPH P+vaWiu5DbezGK1YxQX2/eA2tWPnWMV83YaCRp2HCJsxPkdLhi46X6QhdDaaP6sE3UVR UkKmUa5ydWX4wEwYr2vMDiKQgMUSKTAYPUd++ak+VKUtkWqbJbwwsVetFyTOjuQc3Saj csdTLXMoq4nvTLdOXfq/3hCmmPonjmOAxbVfUe+IdKdmJb83HW7LtBD6UMuXaZsKHGEl ZHHw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from; bh=0bjjTgAyAREUf8SLWOzYTBySdSYkTj4dkDYjU69Q0UU=; b=tQzSB+58fMUo5I/aejbshXVJwKzWPBMt2Hek6bVihY6CrOhKyrZF6G2liOQVASLnEl lQPvpaaoa7067ia7uBKqXsSWWKGjNfIEAyXsqEnJi67ckHyBUxP84wbXxy/fVuBu62nD smaX8ppKO00URAPtwCo2tfPUrBwohdEr0FVcHye9jlLXCEvqx22sw32BmoKCrgvSXn5N 3c5WHUxgw9KNreKPXRPkS8FFYlteXTO0VO72OSCLrUE6+HK3mLFktAsnrodyS9+BiGNF dJ1Nd9QoOZOoQnRcOMImKCqA/oShAultNKDjjfet6JiFXQVEPXJwvvjS9ORWiWVvTeUf 25VQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id jx20si2069603ejb.291.2019.09.26.19.57.42; Thu, 26 Sep 2019 19:58:06 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728841AbfI0C5G (ORCPT + 99 others); Thu, 26 Sep 2019 22:57:06 -0400 Received: from mga11.intel.com ([192.55.52.93]:21594 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727631AbfI0C5G (ORCPT ); Thu, 26 Sep 2019 22:57:06 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Sep 2019 19:57:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,553,1559545200"; d="scan'208";a="389828647" Received: from unknown (HELO ubuntu-16-04.iind.intel.com) ([10.224.186.155]) by fmsmga005.fm.intel.com with ESMTP; 26 Sep 2019 19:57:04 -0700 From: Amit K Bag To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, chethan.tumkur.narayan@intel.com, Amit K Bag , Yoni Shavit Subject: [PATCH v2] Bluetooth: btusb: print FW version after FW download Date: Fri, 27 Sep 2019 08:21:54 +0530 Message-Id: <1569552714-16091-2-git-send-email-amit.k.bag@intel.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1569552714-16091-1-git-send-email-amit.k.bag@intel.com> References: <1569552714-16091-1-git-send-email-amit.k.bag@intel.com> Sender: linux-bluetooth-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-bluetooth@vger.kernel.org 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 Signed-off-by: Yoni Shavit Signed-off-by: Chethan Tumkur Narayan --- drivers/bluetooth/btusb.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index a9c35ebb30f8..270e892c7c8f 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -2432,6 +2432,13 @@ 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); + return 0; } -- 2.7.4