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

Skip to content
Commit 35f46710 authored by Gilad Avidov's avatar Gilad Avidov Committed by Ankit Gupta
Browse files

i2c-msm-v2: control clocks irqs and bam per transfer



Move control of clocks and irqs from runtime-pm to transfer
begin and end as clk and irq are local and there is no penalty
in doing per xfer. But Bus scaling is expensive as has a 1 second
delay and thus done per PM which is less often. Also initialize bam
when clocks are turned on only. This is required when the i2c
core is accessed from other execution enviornments.

Change-Id: If372a94394d10cc8040d122c21e839a28fbaae9a
Signed-off-by: default avatarGilad Avidov <gavidov@codeaurora.org>
Signed-off-by: default avatarAnkit Gupta <ankgupta@codeaurora.org>
parent 5593593b
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