diff options
| author | Zhichao Liu <[email protected]> | 2022-11-10 07:28:39 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-11-10 10:25:12 +0000 |
| commit | 0d10e90cee9eb57882b0f7e19fd699033722e226 (patch) | |
| tree | 01b33e7be5ed76d57a0b47ee1b568eec2efbf46d /tools/perf/util/scripting-engines/trace-event-perl.c | |
| parent | spi: amd: Fix SPI_SPD7 value (diff) | |
| download | kernel-0d10e90cee9eb57882b0f7e19fd699033722e226.tar.gz kernel-0d10e90cee9eb57882b0f7e19fd699033722e226.zip | |
spi: mediatek: Fix DEVAPC Violation at KO Remove
A DEVAPC violation occurs when removing the module
due to accessing HW registers without base clock.
To fix this bug, the correct method is:
1. Call the runtime resume function to enable the
clock;
2. Operate the registers to reset the HW;
3. Turn off the clocks and disable the device
RPM mechanism.
Signed-off-by: Zhichao Liu <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions
