mfd: intel-lpss-pci: Fix clock speed for 38a8 UART
authorOrlando Chamberlain <redecorating@protonmail.com>
Wed, 24 Nov 2021 09:19:44 +0000 (09:19 +0000)
committerLee Jones <lee.jones@linaro.org>
Mon, 29 Nov 2021 13:17:00 +0000 (13:17 +0000)
commit9651cf2cb14726c785240e9dc01b274a68e9959e
tree2cef44394507e25f30037aa4fc56c498e4b27423
parentc9e143084d1a602f829115612e1ec79df3727c8b
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>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20211124091846.11114-1-redecorating@protonmail.com
drivers/mfd/intel-lpss-pci.c