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

Commit b3615ac4 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres Committed by Gerrit - the friendly Code Review server
Browse files

iommu/arm-smmu: Fix missing power off for TCU space in testbus handling



When userspace specifies an incorrect testbus sel value, the testbus
write function immediately bails out, leaving the TCU space powered
on, which is not correct. Sanitize the testbus sel value before
programming the TCU testbus registers so that the register space is
powered on only when userspace provides a meaningful value.

Change-Id: I2c0935e056bd411d12ffdcc7d113c628e0e609d4
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent ff360fb9
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