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

Commit 362ce2b8 authored by Rob Herring's avatar Rob Herring
Browse files

Merge branch 'dt/linus' into HEAD

parents 00b7d1cf e54192b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -140,6 +140,9 @@ void of_populate_phandle_cache(void)
		if (np->phandle && np->phandle != OF_PHANDLE_ILLEGAL)
			phandles++;

	if (!phandles)
		goto out;

	cache_entries = roundup_pow_of_two(phandles);
	phandle_cache_mask = cache_entries - 1;