summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorHarshit Mogalapalli <harshit.m.mogalapalli@oracle.com>2026-01-27 22:49:49 -0800
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2026-01-29 18:22:53 +0000
commit62b44ebc1f2c71db3ca2d4737c52e433f6f03038 (patch)
tree859319992a37f19bc814c92ebab9a8d10ef2e10a /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parentdc81be96a73a67d47da336497b888529c73d389b (diff)
iio: sca3000: Fix a resource leak in sca3000_probe()
spi->irq from request_threaded_irq() not released when iio_device_register() fails. Add an return value check and jump to a common error handler when iio_device_register() fails. Fixes: 9a4936dc89a3 ("staging:iio:accel:sca3000 Tidy up probe order to avoid a race.") Signed-off-by: Harshit Mogalapalli <harshit.m.mogalapalli@oracle.com> Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions