diff options
author | Zhen Lei <thunder.leizhen@huawei.com> | 2021-07-22 06:39:30 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2021-08-10 15:42:56 +0300 |
commit | 2ac48d0d486d9dbdcca2e6d945031541d880df3b (patch) | |
tree | 59d4d1f46227acf2d6e61a3e592e7c1ff84171ac /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | d789a490d32fdf0465275e3607f8a3bc87d3f3ba (diff) | |
download | linux-2ac48d0d486d9dbdcca2e6d945031541d880df3b.tar.xz |
pinctrl: single: Move test PCS_HAS_PINCONF in pcs_parse_bits_in_pinctrl_entry() to the beginning
The value of pcs->flags is not overwritten in function
pcs_parse_bits_in_pinctrl_entry() and its subfunctions, so moving this
check to the beginning of the function eliminates unnecessary rollback
operations.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20210722033930.4034-3-thunder.leizhen@huawei.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