Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 920dd0fb authored by Rafał Bilski's avatar Rafał Bilski Committed by Dave Jones
Browse files

[CPUFREQ] Longhaul - VT8237 support



Looks like VT8237 has the same bits which VT8235 has.
Poke registers if it is found.

Signed-off-by: default avatarRafal Bilski <rafalbilski@interia.pl>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 7d5edcc0
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -633,6 +633,10 @@ static int longhaul_setup_southbridge(void)

	/* Find VT8235 southbridge */
	dev = pci_get_device(PCI_VENDOR_ID_VIA, PCI_DEVICE_ID_VIA_8235, NULL);
	if (dev == NULL)
	/* Find VT8237 southbridge */
		dev = pci_get_device(PCI_VENDOR_ID_VIA,
				     PCI_DEVICE_ID_VIA_8237, NULL);
	if (dev != NULL) {
		/* Set transition time to max */
		pci_read_config_byte(dev, 0xec, &pci_cmd);