diff options
| author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2023-06-19 14:40:05 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2023-07-25 09:24:30 +0200 |
| commit | 2633288acc8c2cec4e5d6b95f843c2c409a75746 (patch) | |
| tree | 24acdc459f79a07d3f69c63ac0fcfea5e78a5c07 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 662cf98d170d5e9645490b524dc0a0667ead2bf4 (diff) | |
media: ti: cal: Fix cal_camerarx_create() error handling
We don't do a proper job at freeing resources in cal_camerarx_create's
error paths.
Fix these, and also switch the phy allcation from kzalloc to
devm_kzalloc to simplify the code further.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
