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

Skip to content
Commit 6ca25f85 authored by Maulik Shah's avatar Maulik Shah Committed by Tushar Nimkar
Browse files

drivers: rpmh: Always bug_on() upon timeout in rpmh_write_batch()



rpmh_rsc_debug() can race with tcs_tx_done() interrupt handler and
may not see any tcs busy and hence won't do bug_on(). Later it may
go ahead and free() the request which interrupt handler is processing.

Lets always bug_on() upon timeout.

Change-Id: I238a6a3639077850df158cb1f0190656e014bb57
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent abe592ad
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment