Re: [PATCH v3 00/23] counter: cleanups and device lifetime fixes

From: William Breathitt Gray
Date: Wed Jan 05 2022 - 07:27:14 EST


On Wed, Dec 29, 2021 at 04:44:18PM +0100, Uwe Kleine-König wrote:
> - I think intel-qep.c makes the counter unfunctional in
> intel_qep_remove before the counter is unregistered.

Hello Uwe,

Would you elaborate some more on this? I think intel_qep_remove() is
only called after the counter is unregistered because the struct
counter_device parent is set to &pci->dev in intel_qep_probe(). Am I
misunderstanding the removal path?

Thanks,

William Breathitt Gray

Attachment: signature.asc
Description: PGP signature