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

Commit ac2dad88 authored by Seth Forshee's avatar Seth Forshee Committed by Matthew Garrett
Browse files

toshiba_acpi: Initialize brightness in backlight device

parent 36d03f93
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -979,6 +979,7 @@ static int __devinit toshiba_acpi_add(struct acpi_device *acpi_dev)
		dev->backlight_dev = NULL;
		goto error;
	}
	dev->backlight_dev->props.brightness = get_lcd(dev->backlight_dev);

	/* Register rfkill switch for Bluetooth */
	if (hci_get_bt_present(dev, &bt_present) == HCI_SUCCESS && bt_present) {