diff options
author | 2025-06-12 14:18:25 -0500 | |
---|---|---|
committer | 2025-06-17 17:47:23 +0200 | |
commit | db22720545207f734aaa9d9f71637bfc8b0155e0 (patch) | |
tree | 6d1c38ce27a43a8eb77ecaf39704c648b3c03f86 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | openvswitch: Allocate struct ovs_pcpu_storage dynamically (diff) | |
download | wireguard-linux-db22720545207f734aaa9d9f71637bfc8b0155e0.tar.xz wireguard-linux-db22720545207f734aaa9d9f71637bfc8b0155e0.zip |
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