diff options
| author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2016-12-12 20:51:21 +0100 |
|---|---|---|
| committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-02-13 13:19:49 +0100 |
| commit | 6ade9a2c2da855ff38e74c4298976400feca968e (patch) | |
| tree | 2139d78521571d2bb03a51a414b95c3ed2b19388 /tools/perf/scripts/python | |
| parent | mmc: sh_mobile_sdhi: simplify accessing DT data (diff) | |
| download | linux-6ade9a2c2da855ff38e74c4298976400feca968e.tar.gz linux-6ade9a2c2da855ff38e74c4298976400feca968e.zip | |
mmc: sh_mobile_sdhi: improve prerequisite for hw_reset
We need a SCC unit for hw_reset. Those units can only be described in
of_data. So, of_data and a valid SCC offset are prerequisites for
enabling the hw_reset capability. Merge the two 'if' conditions into one
and add a check for an scc offset.
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
