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

Commit 97da42dc authored by Amaury Decrême's avatar Amaury Decrême Committed by Wolfram Sang
Browse files

i2c: sis630: display unsigned hex



This patch corrects the display of the acpi_base unsigned hex value.

Signed-off-by: default avatarAmaury Decrême <amaury.decreme@gmail.com>
Reviewed-by: default avatarJean Delvare <khali@linux-fr.org>
Signed-off-by: default avatarWolfram Sang <wolfram@the-dreams.de>
parent a6e7d0ef
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -463,7 +463,7 @@ static int sis630_setup(struct pci_dev *sis630_dev)
		goto exit;
		goto exit;
	}
	}


	dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04x\n", acpi_base);
	dev_dbg(&sis630_dev->dev, "ACPI base at 0x%04hx\n", acpi_base);


	if (supported[i] == PCI_DEVICE_ID_SI_760)
	if (supported[i] == PCI_DEVICE_ID_SI_760)
		smbus_base = acpi_base + 0xE0;
		smbus_base = acpi_base + 0xE0;