diff options
| author | Stanley Chu <stanley.chu@mediatek.com> | 2020-06-01 18:46:42 +0800 |
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-06-15 23:06:39 -0400 |
| commit | fb43337cd4cff6639b174e3b6766e6eade523836 (patch) | |
| tree | ec6de8d7d90a652bc3eef23cebb94f867df4b2c6 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 55f4b1f73631a0817717fe6e98517de51b4c3527 (diff) | |
| download | linux-fb43337cd4cff6639b174e3b6766e6eade523836.tar.gz linux-fb43337cd4cff6639b174e3b6766e6eade523836.zip | |
scsi: ufs-mediatek: Fix imprecise waiting time for ref-clk control
Currently ref-clk control timeout is implemented by jiffies. However
jiffies is not accurate enough thus "false timeout" may happen.
Use more accurate delay mechanism instead, i.e. ktime.
Link: https://lore.kernel.org/r/20200601104646.15436-2-stanley.chu@mediatek.com
Reviewed-by: Andy Teng <andy.teng@mediatek.com>
Reviewed-by: Avri Altman <avri.altman@wdc.com>
Signed-off-by: Stanley Chu <stanley.chu@mediatek.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions
