diff options
| author | Jerome Brunet <[email protected]> | 2017-10-02 12:27:42 +0000 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2017-10-04 08:42:03 +0000 |
| commit | 3e2b0af411d4bf85bc0fbc385756fd5968adb9fd (patch) | |
| tree | a634c1b10861d4f8f1dc9d3344f41d610fd0ee6c /drivers/iio/trigger/stm32-timer-trigger.c | |
| parent | mmc: meson-gx: make sure the clock is rounded down (diff) | |
| download | kernel-3e2b0af411d4bf85bc0fbc385756fd5968adb9fd.tar.gz kernel-3e2b0af411d4bf85bc0fbc385756fd5968adb9fd.zip | |
mmc: meson-gx: fix rx phase reset
Resetting the phase when POWER_ON is set the set_ios() call means that the
phase is reset almost every time the set_ios() is called, while the
expected behavior was to reset the phase on a power cycle.
This had gone unnoticed until now because in all mode (except hs400) the
tuning is done after the last to set_ios(). In such case, the tuning
result is used anyway. In HS400, there are a few calls to set_ios() after
the tuning is done, overwriting the tuning result.
Resetting the phase on POWER_UP instead of POWER_ON solve the problem.
Fixes: d341ca88eead ("mmc: meson-gx: rework tuning function")
Signed-off-by: Jerome Brunet <[email protected]>
Reviewed-by: Kevin Hilman <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/iio/trigger/stm32-timer-trigger.c')
0 files changed, 0 insertions, 0 deletions
