diff options
| author | Michail Tatas <michail.tatas@gmail.com> | 2026-08-13 20:36:50 +0300 |
|---|---|---|
| committer | Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com> | 2026-08-26 17:59:56 +0200 |
| commit | 16b10f64c63f78220c3b4035f1ed6cd3bdcb0b02 (patch) | |
| tree | 115aea76b9d3150e9afec9197ea10f8d94d5ca5c /scripts/objdiff | |
| parent | 45c13f3f9e3bb15fd89ff2864c6f627a3b4b4229 (diff) | |
| download | linux-next-16b10f64c63f78220c3b4035f1ed6cd3bdcb0b02.tar.gz linux-next-16b10f64c63f78220c3b4035f1ed6cd3bdcb0b02.zip | |
gpiolib: Put fwnode reference on failure
We get a reference to the fwnode handle which we pass to
gpio_shared_make_ref. In case it fails we do not put the reference.
Fix by putting the reference in the failure case
Fixes: 49416483a953 ("gpio: shared: allow sharing a reset-gpios pin between reset-gpio and gpiolib")
Cc: stable@vger.kernel.org
Signed-off-by: Michail Tatas <michail.tatas@gmail.com>
Link: https://patch.msgid.link/an4Asr4tx3D2QvLD@michalis-linux
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
