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

Commit 628bfd41 authored by Chuanxiao Dong's avatar Chuanxiao Dong Committed by David Woodhouse
Browse files

nand/denali: use cpu_relax() while waiting for hardware interrupt

parent f0bc0c77
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -213,7 +213,7 @@ static uint16_t denali_nand_reset(struct denali_nand_info *denali)
		while (!(ioread32(denali->flash_reg +
				intr_status_addresses[i]) &
			(reset_complete[i] | operation_timeout[i])))
			;
			cpu_relax();
		if (ioread32(denali->flash_reg + intr_status_addresses[i]) &
			operation_timeout[i])
			dev_dbg(&denali->dev->dev,