Commit 303d4acb authored by Alok Chauhan's avatar Alok Chauhan
Browse files

qup_i2c: Avoid potential panic issue



I2c register access is happening in isr before check
PM runtime status. This can lead to potential hang because of
unwanted interrupts and i2c clocks are off.

Update the i2c driver code to have register access
after PM runtime status check.

CRs-Fixed: 454710
Change-Id: I11a3d8df24c514205203f24be8e08d7c1ea1a7b8
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent 8e25412f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment