Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1802155ybn; Thu, 26 Sep 2019 02:24:59 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbvnLp7yF3E0W3J3evomze2x6Gk3f9416W8sipc1QpIRdtPhKed+S8JtI41ODg/xlwV2Xw X-Received: by 2002:a17:906:1f57:: with SMTP id d23mr2173080ejk.103.1569489899687; Thu, 26 Sep 2019 02:24:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569489899; cv=none; d=google.com; s=arc-20160816; b=dyUwYnbnokWVwAooYFkKc0JP4NcQkPznzuZn9K19N1msI0+zMk7OoL3ssicaulBbqL M+5XdlD33/ch0ipQm8eEsqCUrZMGt1yb0XVmF1NnKX4tOkw6iZF1dtpzbHvD0JOJXAIH rlMQpvDhgk79s5rbPCciGLT/gkT/8Qbh69koluRn0fpP13NDJNgp/+uDvssfzFbMVhJB oP/2iarry7BhoRzezJOsVUu+9LtZrvq2TovBJ4iwJtiNHoQipzuaYXSO4u3sFjKPgZz1 JXkpCZyUd7kSuIrR8TV7UeN7cYlRibSb1kGgmPl6OQh0ekmz/fhiYDO/zpUFiuRvM+yH 3DEA== 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=9HEFhpVUHms01eOjHI5t5A1icxLy0SE/fPYzrmUrsmM=; b=gNVJooO8yjumrjEbBie/i4sqTAKJAjOF8o6/hOCq3ThRW6404YhNHQMSdFqmVkrTX6 EpUCwNV8xqCUvTe3qQpM9lyjRbVgiceH1GO1Qi68b3lYqCPZZplmEyEes4oTDHzKGNHt 4Cs4vsd7DgAjNH416Zvyho+TCa3YYMHmJnFFarKPVoiCJML7eaNUvSf8+Bu5y29knfpb etAo3rFWYapc41voib4pl33YY70jsBgwmKsbiSA692kMB3h+Xarx31zyiEqnsDjZ5aG0 HpYKXscaI5ULGkT5eDcGpMfcBBCm/ZoWHtHiAyOdfRc8fLJ6RmGV3RedFZO4LnqcyQ7A RUtA== 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 u3si718097ejj.47.2019.09.26.02.24.25; Thu, 26 Sep 2019 02:24:59 -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 S1726466AbfIYKIw (ORCPT + 99 others); Wed, 25 Sep 2019 06:08:52 -0400 Received: from mga01.intel.com ([192.55.52.88]:41853 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726276AbfIYKIw (ORCPT ); Wed, 25 Sep 2019 06:08:52 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Sep 2019 03:08:51 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,547,1559545200"; d="scan'208";a="189628735" Received: from unknown (HELO ubuntu-16-04.iind.intel.com) ([10.224.186.155]) by fmsmga007.fm.intel.com with ESMTP; 25 Sep 2019 03:08:50 -0700 From: Amit K Bag To: linux-bluetooth@vger.kernel.org Cc: ravishankar.srivatsa@intel.com, chethan.tumkur.narayan@intel.com, Amit K Bag Subject: [PATCH] Bluetooth: btusb: print FW version after FW download Date: Wed, 25 Sep 2019 15:33:46 +0530 Message-Id: <1569405826-4555-1-git-send-email-amit.k.bag@intel.com> X-Mailer: git-send-email 2.7.4 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 --- 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"); + return 0; } -- 2.7.4