Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2780021pxb; Fri, 8 Oct 2021 15:21:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx1FBbbI+B7oUBleLHb/A8xmreCEBV031MgZcXHR05QBOWvo2uFMqHFO0fMXlWDKbomHGVf X-Received: by 2002:a17:90a:8b89:: with SMTP id z9mr14551612pjn.89.1633731710865; Fri, 08 Oct 2021 15:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633731710; cv=none; d=google.com; s=arc-20160816; b=OH6CN9CoJPNVrnTVQPqLeEa3xWjpSNNQTI91Wm1tikaWb3sS/NjCkL9pPSvmM27kRA oeWjQiFUF1zX+y+BvwOZ1IQUdUww0sNaXOf2t1nTV8aeXGyTrgMNrEKJrMaKgYGyRrVY nyxevwh+Tqi8/UHIaVwCNyFbmnAmcE33SNDXF9mXIqjNatQNGKDJzWrUVQ/0VocXjY7Q P5etUhabMWz2lFBgMr473ZXdTqqA+p2x9OihOi3L006G+KbwP63MRntqAgbGm9iFWKE0 sbIrNBsXYhkdNIcqbKfkM16D6d1x7PR5GVWfYDEx+392lI8tguUq95TBLoXuP4322tqK 5jYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=ccmTspxRou6TivcHKFujJdUq4YIcCSKWBGvh7h2E8hw=; b=I3u7CfxqSoIOf8OuOR5jl6awDJAwCHLO7i2qqqkvLGBDlUpAMNvlccoYVyC1x2P4R2 zCHXQyA5e8bUwijw5IfiSwirk2yy60X2Tt2JNxvgE9/84KHo9BtTGPhzH1kYY93GXkpA rahM57H7RzwLR0hZ+VaaJnsKr3dN0mG+d9D/DBknxkVgcszES1LeGvrPla0bdcLCV9E/ 8mTSuxlLvcSww67cwATM4iXDfpR4aocAQ0wG4OzrS9GBZF7QdUJISpjnIYBTCP9L9pOQ /Wv3KHtnvB441G7cweMLIKFZiiNCqMlcSrb5Ro5375tjpQrS+Eig0w7ZUbyDHCo+Nh5/ fqFw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o27si801457pgd.502.2021.10.08.15.21.38; Fri, 08 Oct 2021 15:21:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243632AbhJHWWt (ORCPT + 99 others); Fri, 8 Oct 2021 18:22:49 -0400 Received: from mailgw01.mediatek.com ([216.200.240.184]:49937 "EHLO mailgw01.mediatek.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231859AbhJHWWs (ORCPT ); Fri, 8 Oct 2021 18:22:48 -0400 X-Greylist: delayed 305 seconds by postgrey-1.27 at vger.kernel.org; Fri, 08 Oct 2021 18:22:48 EDT X-UUID: 5a3e3fc19dda4dbe9ad46d2af6bddfde-20211008 X-UUID: 5a3e3fc19dda4dbe9ad46d2af6bddfde-20211008 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw01.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2027970551; Fri, 08 Oct 2021 15:15:41 -0700 Received: from mtkcas10.mediatek.inc (172.21.101.39) by MTKMBS62DR.mediatek.inc (172.29.94.18) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 8 Oct 2021 15:10:33 -0700 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas10.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Sat, 9 Oct 2021 06:10:32 +0800 From: To: , CC: , , , , , , , , , , , , , , , , , , , , , , , , , , Subject: [PATCH v1 03/10] Bluetooth: btmtksdio: add .set_bdaddr support Date: Sat, 9 Oct 2021 06:10:10 +0800 Message-ID: <25dbae25981183da4dee40487e01c2201a1f1990.1633728573.git.objelf@gmail.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-MTK: N Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Sean Wang add .set_bdaddr support Signed-off-by: Sean Wang --- drivers/bluetooth/btmtksdio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/bluetooth/btmtksdio.c b/drivers/bluetooth/btmtksdio.c index 53682a4c2ced..77d1c4ac582d 100644 --- a/drivers/bluetooth/btmtksdio.c +++ b/drivers/bluetooth/btmtksdio.c @@ -834,6 +834,8 @@ static int btmtksdio_probe(struct sdio_func *func, hdev->setup = btmtksdio_setup; hdev->shutdown = btmtksdio_shutdown; hdev->send = btmtksdio_send_frame; + hdev->set_bdaddr = btmtk_set_bdaddr; + SET_HCIDEV_DEV(hdev, &func->dev); hdev->manufacturer = 70; -- 2.25.1