[PATCH] spi: mediatek: Fix DEVAPC Violation at KO Remove
AngeloGioacchino Del Regno
angelogioacchino.delregno at collabora.com
Thu Nov 10 01:01:04 PST 2022
Il 10/11/22 08:28, Zhichao Liu ha scritto:
> 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 <zhichao.liu at mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
More information about the Linux-mediatek
mailing list