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

Commit 70e05883 authored by Arnd Bergmann's avatar Arnd Bergmann
Browse files

Merge tag 'v4.8-next-soc' of https://github.com/mbgg/linux-mediatek into next/drivers

Pull "ARM: mediatek: soc updates for v4.9" from Matthias Brugger:

extent the waiting time of the pmic wrapper to 10 ms which
reduces the failure rate on the data transfer between pmic and
pmic wrapper.

* tag 'v4.8-next-soc' of https://github.com/mbgg/linux-mediatek:
  soc: mediatek: PMIC wrap: Extend the waiting time to 10ms.
parents bdfb3af1 e180f887
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -583,7 +583,7 @@ static int pwrap_wait_for_state(struct pmic_wrapper *wrp,
{
	unsigned long timeout;

	timeout = jiffies + usecs_to_jiffies(255);
	timeout = jiffies + usecs_to_jiffies(10000);

	do {
		if (time_after(jiffies, timeout))