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

Commit 7d9745cf authored by Henrique de Moraes Holschuh's avatar Henrique de Moraes Holschuh
Browse files

thinkpad-acpi: document backlight level writeback at driver init



Document this, it is no fun to try to second guess why this sort of
stuff is in place years after it was added...

Signed-off-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
parent ef07a5ab
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -6397,6 +6397,10 @@ static int __init brightness_init(struct ibm_init_struct *iibm)
			"or not on your ThinkPad\n", TPACPI_MAIL);
			"or not on your ThinkPad\n", TPACPI_MAIL);
	}
	}


	/* Added by mistake in early 2007.  Probably useless, but it could
	 * be working around some unknown firmware problem where the value
	 * read at startup doesn't match the real hardware state... so leave
	 * it in place just in case */
	backlight_update_status(ibm_backlight_device);
	backlight_update_status(ibm_backlight_device);


	vdbg_printk(TPACPI_DBG_INIT | TPACPI_DBG_BRGHT,
	vdbg_printk(TPACPI_DBG_INIT | TPACPI_DBG_BRGHT,