[PATCH v4 0/4] E5010 Probe Cleanup and Adding autosuspend
From: Brandon Brnich
Date: Mon Aug 31 2026 - 18:01:06 EST
Hello all,
This series has changed a bit since v3 so thought it was appropriate to
add in a cover letter.
I noticed a report from the intel bot[0] which pointed out a valid issue
with the driver never calling e5010_init_device unless CONFIG_PM was
enabled. That has now been addressed in v4 by moving the call to probe.
While looking at probe though, I noticed that the clk_enable was never
properly called. That has now been fixed with a proper remove path as
well.
Lastly, I cleaned up the goto jumps in probe to fix an issue where the
m2m_dev wasn't being freed.
Changes since v3:
- patches 1 and 2 are new in v4
- patch 3 remains unchanged
- patch 4
> updated goto to match changes in patch 1
> update PM calls in probe
Best,
Brandon
[0]: https://lore.kernel.org/oe-kbuild-all/202608140323.qyc8mKlp-lkp@xxxxxxxxx/
Brandon Brnich (4):
media: imagination: e5010: Properly Release m2m_dev if probe fails
media: imagination: e5010: Fix clk never enabled without CONFIG_PM
media: imagination: e5010: Move e5010_init_device to Runtime Resume
Hook
media: imagination: e5010: Enable autosuspend for runtime PM
.../platform/imagination/e5010-jpeg-enc.c | 76 +++++++++++--------
1 file changed, 44 insertions(+), 32 deletions(-)
--
2.43.0