diff options
author | Dan Murphy <dmurphy@ti.com> | 2019-12-10 19:32:04 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2020-01-02 17:34:26 +0300 |
commit | 3814ca3a10be795693e9d95142c69134c6189a9b (patch) | |
tree | 583637747cd3736e9f298421917d68f0646164ce /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 3069ce620daed85e4ef2b0c087dca2509f809470 (diff) | |
download | linux-3814ca3a10be795693e9d95142c69134c6189a9b.tar.xz |
can: tcan4x5x: tcan4x5x_can_probe(): turn on the power before parsing the config
The tcan4x5x_parse_config() function now performs action on the device
either reading or writing and a reset. If the devive has a switchable
power supppy (i.e. regulator is managed) it needs to be turned on.
So turn on the regulator if available. If the parsing fails, turn off
the regulator.
Fixes: 2de497356955 ("can: tcan45x: Make wake-up GPIO an optional GPIO")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions