diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2024-11-10 22:59:43 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2024-11-13 14:18:06 +0100 |
commit | f8bd5383d8b67e08153123718d0fb6e92a70f838 (patch) | |
tree | e0a1c86101e96304f8cf8dcf2d78189915042b4a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | c13411c6fae68f8e4b35d111d955eaa1d49a8f5f (diff) | |
download | linux-stable-f8bd5383d8b67e08153123718d0fb6e92a70f838.tar.gz linux-stable-f8bd5383d8b67e08153123718d0fb6e92a70f838.tar.bz2 linux-stable-f8bd5383d8b67e08153123718d0fb6e92a70f838.zip |
pinctrl: cy8c95x0: use flexible sleeping in reset function
The device reset assert and deassert length was created by usleep_range()
but that does not ensure optimal handling of all the different values from
device tree properties. By switching to the new flexible sleeping helper
function, fsleep(), the correct delay function is called depending on
delay length, e.g. udelay(), usleep_range() or msleep().
While at it, move out GPIO consumer name setting of the reset conditional,
the all necessary checks are already done there, so logically that call is
not related to the reset sequence.
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Link: https://lore.kernel.org/20241110210040.18918-4-andy.shevchenko@gmail.com
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions