On 10/24/2024 6:36 PM, Johan Hovold wrote:
On Thu, Oct 24, 2024 at 04:51:17PM +0530, Basavaraj Natikar wrote:
Use pm_runtime_put in the remove function and pm_runtime_get to disable
RPM on platforms that don't support runtime D3, as re-enabling it through
sysfs auto power control may cause the controller to malfunction. This
can lead to issues such as hotplug devices not being detected due to
failed interrupt generation.
Fixes: a5d6264b638e ("xhci: Enable RPM on controllers that support low-power states")
Signed-off-by: Basavaraj Natikar <Basavaraj.Natikar@xxxxxxx>
---
This is a new version of this patch:
https://lore.kernel.org/all/20240925161520.2736895-1-Basavaraj.Natikar@xxxxxxx/
so please resend a v3 with a changelog here.
Also remember to CC people reviewing your patches when resubmitting.
Sure Johan, I sent changes in v3.
Thanks,
--
Basavaraj
Johan