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

Commit a54fc4da authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm_rng: remove the check if zero is read from register"

parents 01ff7fb7 c1f204a2
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -138,8 +138,6 @@ static int msm_rng_direct_read(struct msm_rng_device *msm_rng_dev,

		/* read FIFO */
		val = readl_relaxed(base + PRNG_DATA_OUT_OFFSET);
		if (!val)
			break;	/* no data to read so just bail */

		/* write data back to callers pointer */
		*(retdata++) = val;