diff options
author | Brett Werling <brett.werling@garmin.com> | 2025-06-12 22:18:25 +0300 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2025-06-17 18:47:23 +0300 |
commit | db22720545207f734aaa9d9f71637bfc8b0155e0 (patch) | |
tree | 6d1c38ce27a43a8eb77ecaf39704c648b3c03f86 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7b4ac12cc929e281cf7edc22203e0533790ebc2b (diff) | |
download | linux-db22720545207f734aaa9d9f71637bfc8b0155e0.tar.xz |
can: tcan4x5x: fix power regulator retrieval during probe
Fixes the power regulator retrieval in tcan4x5x_can_probe() by ensuring
the regulator pointer is not set to NULL in the successful return from
devm_regulator_get_optional().
Fixes: 3814ca3a10be ("can: tcan4x5x: tcan4x5x_can_probe(): turn on the power before parsing the config")
Signed-off-by: Brett Werling <brett.werling@garmin.com>
Link: https://patch.msgid.link/20250612191825.3646364-1-brett.werling@garmin.com
Cc: stable@vger.kernel.org
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