Files
linux/drivers/iio/accel
Dong Chenchen 20690cd50e iio: accel: bma400: Fix memory leak in bma400_get_steps_reg()
When regmap_bulk_read() fails, it does not free steps_raw,
which will cause a memory leak issue, this patch fixes it.

Fixes: d221de60ee ("iio: accel: bma400: Add separate channel for step counter")
Signed-off-by: Dong Chenchen <[email protected]>
Reviewed-by: Jagath Jog J <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: <[email protected]>
Signed-off-by: Jonathan Cameron <[email protected]>
2022-11-12 17:49:22 +00:00
..
2022-02-21 19:33:06 +00:00
2022-02-21 19:33:06 +00:00
…
2022-08-16 12:46:26 +02:00
2022-08-16 12:46:26 +02:00