[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <E9DE81E7-F408-414F-AB25-D71657E5177A@live.com>
Date: Mon, 29 Nov 2021 07:31:32 +0000
From: Aditya Garg <gargaditya08@...e.com>
To: Thorsten Leemhuis <regressions@...mhuis.info>
CC: Marcel Holtmann <marcel@...tmann.org>,
Orlando Chamberlain <redecorating@...tonmail.com>,
Daniel Winkler <danielwinkler@...gle.com>,
Greg KH <gregkh@...uxfoundation.org>,
Johan Hedberg <johan.hedberg@...el.com>,
"linux-bluetooth@...r.kernel.org" <linux-bluetooth@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Luiz Augusto von Dentz <luiz.dentz@...il.com>,
"regressions@...ts.linux.dev" <regressions@...ts.linux.dev>,
"sonnysasaka@...omium.org" <sonnysasaka@...omium.org>,
"stable@...r.kernel.org" <stable@...r.kernel.org>
Subject: [PATCH 5/6] btbcm: disable read tx power for iMac 20,1 (Retina 5K,
27-inch, 2020)
From: Aditya Garg <gargaditya08@...e.com>
Bluetooth on Apple iMac 20,1 is unable to start due to LE Min/Max Tx Power being queried on startup. Add a DMI based quirk so that it is disabled.
Signed-off-by: Aditya Garg <gargaditya08@...e.com>
---
drivers/bluetooth/btbcm.c | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/drivers/bluetooth/btbcm.c b/drivers/bluetooth/btbcm.c
index 88214b453b0ce..15c5be927c659 100644
--- a/drivers/bluetooth/btbcm.c
+++ b/drivers/bluetooth/btbcm.c
@@ -372,6 +372,15 @@ static const struct dmi_system_id disable_broken_read_transmit_power[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "MacBookPro16,4"),
},
},
+ {
+ /* Match for Apple iMac 20,1 which needs
+ * Read LE Min/Max Tx Power to be disabled.
+ */
+ .matches = {
+ DMI_MATCH(DMI_BOARD_VENDOR, "Apple Inc."),
+ DMI_MATCH(DMI_PRODUCT_NAME, "iMac20,1"),
+ },
+ },
{ }
};
Powered by blists - more mailing lists