-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from Redecorating/linux516
Update patches for linux-5.16
- Loading branch information
Showing
7 changed files
with
160 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
43 changes: 43 additions & 0 deletions
43
9002-mfd-intel-lpss-pci-fix-clock-speed-for-38a8-UART.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
From 64dad24333ddb290f4e2f6c489abe03247030320 Mon Sep 17 00:00:00 2001 | ||
From: Orlando Chamberlain <redecorating@protonmail.com> | ||
Date: Wed, 24 Nov 2021 09:19:44 +0000 | ||
Subject: [PATCHv2] mfd: intel-lpss-pci: fix clock speed for 38a8 UART | ||
|
||
This device is found in the MacBookPro16,2, and as the MacBookPro16,1 is | ||
from the same generation of MacBooks and has a UART with bxt_uart_info, | ||
it was incorrectly assumed that the MacBookPro16,2's UART would have the | ||
same info. | ||
|
||
This led to the wrong clock speed being used, and the Bluetooth | ||
controller exposed by the UART receiving and sending random data, which | ||
was incorrectly assumed to be an issue with the Bluetooth stuff, not an | ||
error with the UART side of things. | ||
|
||
Changing the info to spt_uart_info changes the clock speed and makes it | ||
send and receive data correctly. | ||
|
||
Fixes: ddb1ada416fd ("mfd: intel-lpss: Add support for MacBookPro16,2 ICL-N UART") | ||
Signed-off-by: Orlando Chamberlain <redecorating@protonmail.com> | ||
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> | ||
--- | ||
v1 -> v2: Remove blank line in tag block, add Reviewed-by. | ||
drivers/mfd/intel-lpss-pci.c | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/drivers/mfd/intel-lpss-pci.c b/drivers/mfd/intel-lpss-pci.c | ||
index a872b4485eac..f70464ce8e3d 100644 | ||
--- a/drivers/mfd/intel-lpss-pci.c | ||
+++ b/drivers/mfd/intel-lpss-pci.c | ||
@@ -254,7 +254,7 @@ static const struct pci_device_id intel_lpss_pci_ids[] = { | ||
{ PCI_VDEVICE(INTEL, 0x34eb), (kernel_ulong_t)&bxt_i2c_info }, | ||
{ PCI_VDEVICE(INTEL, 0x34fb), (kernel_ulong_t)&spt_info }, | ||
/* ICL-N */ | ||
- { PCI_VDEVICE(INTEL, 0x38a8), (kernel_ulong_t)&bxt_uart_info }, | ||
+ { PCI_VDEVICE(INTEL, 0x38a8), (kernel_ulong_t)&spt_uart_info }, | ||
/* TGL-H */ | ||
{ PCI_VDEVICE(INTEL, 0x43a7), (kernel_ulong_t)&bxt_uart_info }, | ||
{ PCI_VDEVICE(INTEL, 0x43a8), (kernel_ulong_t)&bxt_uart_info }, | ||
-- | ||
2.34.0 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.