diff options
| author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-11-08 15:34:54 +0900 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-12-11 12:44:28 +0100 |
| commit | 5f3a86014eadbcf559ab64cf26ce29510319228b (patch) | |
| tree | 4745a4f3175d055fdca1c9664d73e47c1c4b0f29 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | Linux 4.15-rc3 (diff) | |
| download | linux-5f3a86014eadbcf559ab64cf26ce29510319228b.tar.gz linux-5f3a86014eadbcf559ab64cf26ce29510319228b.zip | |
mmc: slot-gpio: call gpiod_to_irq() only when MMC_CAP_NEEDS_POLL is unset
It is not efficient to call gpiod_to_irq() regardless the flag, then
ignore the returned irq if MMC_CAP_NEEDS_POLL.
Move gpiod_to_irq() after the MMC_CAP_NEEDS_POLL check.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
