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

Commit 75f54e84 authored by Channagoud Kadabi's avatar Channagoud Kadabi
Browse files

soc: eud: Update the interrupt enablement & handling code



Update the interrupt mask register when EUD is enabled, this is to
ensure that the settings are done after vdd3p1 rail is turned on by USB.
For TX interrupt handling check for the interrupt enable mask along with
status. TX status is always set to 1 even if the interrupt is not
enabled, this is to fecilitate the usage of TX in polling mode as well
as interrupt mode. If we dont check the enable mask with status, whenever
eud summary interrupt is fired, the driver checks TX status is set but the
TX was not requested by Apps EE (Execution Environment) and returns. Due to
this the actual event for which the interrupt was fired never gets handled
and we loop forever.

Change-Id: I64d6a74e550f72793cc50c21f4d32f186e3806ad
Signed-off-by: default avatarChannagoud Kadabi <ckadabi@codeaurora.org>
parent e80ddb13
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