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

Skip to content
Commit ac85d987 authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

power: fg-memif: Modify FG SRAM access configuration over DMA



Currently, when SRAM access over DMA is requested, low latency is
set and it is cleared after SRAM access is done and DMA is
released. Instead of this, keep low latency set always as per the
hardware recommendation. With this, memory arbitration request is
made when SRAM is accessed by software and released when SRAM
access is completed without changing the latency configuration.

Also, change the order of register writes for DMA request and
release as following:

DMA request:
- Memory arbiter request
- Memory interface request

DMA release:
- Memory interface release
- Memory arbiter release

While at it, clear the DMA error log bit during initialization.

Change-Id: I3ddbe9ca6053673c3dc7b1620bed472546278547
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 8dfc046a
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