diff options
author | Fancy Fang <[email protected]> | 2023-05-05 14:58:39 +0800 |
---|---|---|
committer | Thierry Reding <[email protected]> | 2023-06-23 15:42:44 +0200 |
commit | 661dfb7f46298e53f6c3deaa772fa527aae86193 (patch) | |
tree | 362e0b1ff0cbbfa7c45ea8c3afc344bd6f70d4ea /scripts/generate_rust_analyzer.py | |
parent | 329db102a26da0ba876974dbe04308d08acfad94 (diff) |
pwm: imx-tpm: force 'real_period' to be zero in suspend
During suspend, all the tpm registers will lose values.
So the 'real_period' value of struct 'imx_tpm_pwm_chip'
should be forced to be zero to force the period update
code can be executed after system resume back.
Signed-off-by: Fancy Fang <[email protected]>
Signed-off-by: Clark Wang <[email protected]>
Acked-by: Uwe Kleine-König <[email protected]>
Fixes: 738a1cfec2ed ("pwm: Add i.MX TPM PWM driver support")
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions