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

Commit bbac30ed authored by Len Brown's avatar Len Brown
Browse files

Merge branch 'misc' into release

parents 4a973f24 6c9c0fd0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -82,10 +82,13 @@ module_param(bm_check_disable, uint, 0000);
static unsigned int latency_factor __read_mostly = 2;
module_param(latency_factor, uint, 0644);

#ifdef CONFIG_ACPI_PROCFS
static u64 us_to_pm_timer_ticks(s64 t)
{
	return div64_u64(t * PM_TIMER_FREQUENCY, 1000000);
}
#endif

/*
 * IBM ThinkPad R40e crashes mysteriously when going into C2 or C3.
 * For now disable this. Probably a bug somewhere else.